

 Amazon Redshift ne prendra plus en charge la création de nouveaux Python à UDFs partir du patch 198. UDFs Le Python existant continuera de fonctionner jusqu'au 30 juin 2026. Pour plus d’informations, consultez le [ billet de blog ](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.

# Fonction GET\$1ARRAY\$1LENGTH
<a name="get_array_length"></a>

Renvoie la longueur d'un tableau SUPER en fonction d'un objet ou d'un chemin de tableau.

## Syntaxe
<a name="get_array_length-syntax"></a>

```
GET_ARRAY_LENGTH( super_expr )
```

## Arguments
<a name="get_array_length-arguments"></a>

 *super\$1expr*   
Expression SUPER valide de forme de table.

## Type de retour
<a name="get_array_length-returm-type"></a>

La fonction GET\$1ARRAY\$1LENGTH renvoie un INT. 

## Exemple
<a name="get_array_length-example"></a>

L'exemple suivant montre la fonction GET\$1ARRAY\$1LENGTH.

```
SELECT GET_ARRAY_LENGTH(ARRAY(1,2,3,4,5,6,7,8,9,10));
 get_array_length
----------------------
            10
(1 row)
```