LoginSignup
3
3

More than 5 years have passed since last update.

Treasure Data (Presto) で Array の要素数を得る

Posted at

array<any> 型に対して、配列の要素数(長さ)を得るには cardinality という関数を使う。

cardinality(x) → bigint
  Returns the cardinality (size) of the array x.

size とか length とか array_size とか array_length とかは無い。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3