

 Amazon Redshift ne prendra plus en charge la création de nouveaux UDFs Python à partir du patch 198. Les fonctions Python définies par l’utilisateur existantes continueront de fonctionner normalement 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\_ARRAY\_LENGTH
<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\_expr*   
Expression SUPER valide de forme de table.

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

La fonction GET\_ARRAY\_LENGTH renvoie un INT. 

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

L'exemple suivant montre la fonction GET\_ARRAY\_LENGTH.

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