You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/04/07 22:36:00 UTC
[jira] [Resolved] (SPARK-31008) Support json_array_length function
[ https://issues.apache.org/jira/browse/SPARK-31008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-31008.
-----------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
Issue resolved by pull request 27759
[https://github.com/apache/spark/pull/27759]
> 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
> Assignee: Rakesh Raushan
> Priority: Major
> Fix For: 3.1.0
>
>
> 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