This page describes examples of using arrays in Lenses SQL Studio to query Kafka.
For a full list of array functions see the SQL Reference.
You can create array fields using the ..[]
syntax:
Tables can store data containing arrays. Here is a SQL statement for querying an array item:
When working with arrays is good to check the array bounds. See the SIZEOF
function in the list of supported functions.
Sometimes you want to find out how many items are in your array. To do so you can run: