Presto query (optimization): check if an array contains certain element and count it

前端 未结 0 417
醉梦人生
醉梦人生 2021-01-25 16:21

I have the following PRESTO query to count the elements in my_array column

SELECT
    COUNT(*) AS total_count,
    COUNT_IF(any_match(my_array, x -&g         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题