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/02 10:52:00 UTC
[jira] [Commented] (SPARK-31008) Support json_array_length function
[ 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