Apache Presto - json_size(json, json_path)



Query

presto:default> SELECT json_size('{"a": [11, 12, 13]}', '$.a') as json; 

Result

 json 
------ 
  3
apache_presto_sql_functions.htm
Advertisements