json_array_length_udf

Function json_array_length_udf 

Source
pub fn json_array_length_udf() -> ScalarUDF
Expand description

Create the json_array_length UDF for getting array length

§Arguments

  • First parameter: JSONB binary data (LargeBinary)
  • Second parameter: JSONPath to array location (Utf8)

§Returns

Integer length of the JSON array, or null if path doesn’t point to an array