## VECTOR_DIMENSION_COUNT

Purpose

`VECTOR_DIMENSION_COUNT`

returns the number of dimensions of a vector as a `NUMBER`

.

`VECTOR_DIMENSION_COUNT`

is synonymous with VECTOR_DIMS.

Parameters

`expr`

must evaluate to a vector.

If `expr`

is NULL, NULL is returned.

Example

SELECT VECTOR_DIMENSION_COUNT( TO_VECTOR('[34.6, 77.8]', 2, FLOAT64) ); VECTOR_DIMENSION_COUNT(TO_VECTOR('[34.6,77.8]',2,FLOAT64)) ----------------------------------------------------------