You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Rakesh Raushan (Jira)" <ji...@apache.org> on 2020/03/04 16:59:00 UTC

[jira] [Updated] (SPARK-31008) Support json_array_length function

     [ https://issues.apache.org/jira/browse/SPARK-31008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rakesh Raushan updated SPARK-31008:
-----------------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.1.0

> Support json_array_length function
> ----------------------------------
>
>                 Key: SPARK-31008
>                 URL: https://issues.apache.org/jira/browse/SPARK-31008
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Rakesh Raushan
>            Priority: Major
>
> At the moment we don't support json_array_length function in spark.
> This function is supported by
> a.) PostgreSQL -> [https://www.postgresql.org/docs/9.3/functions-json.html]
> b.) Presto -> [https://prestodb.io/docs/current/functions/json.html]
> c.) redshift -> [https://docs.aws.amazon.com/redshift/latest/dg/JSON_ARRAY_LENGTH.html]
>  
> This allows naive users to directly get array length with a well defined json function.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org