spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh Raushan (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-31008) Support json_array_length function
Date Mon, 02 Mar 2020 10:52:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-31008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17049097#comment-17049097
] 

Rakesh Raushan commented on SPARK-31008:
----------------------------------------

I will raise a PR soon

> 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.0.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


Mime
View raw message