spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh Raushan (Jira)" <>
Subject [jira] [Commented] (SPARK-28427) Support more Postgres JSON functions
Date Mon, 02 Mar 2020 16:14:00 GMT


Rakesh Raushan commented on SPARK-28427:

I think we should add some of Postgres JSON functions to Spark.

> Support more Postgres JSON functions
> ------------------------------------
>                 Key: SPARK-28427
>                 URL:
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Josh Rosen
>            Priority: Major
> Postgres features a number of JSON functions that are missing in Spark:
> Redshift's JSON functions (
have partial overlap with the Postgres list.
> Some of these functions can be expressed in terms of compositions of existing Spark functions.
For example, I think that {{json_array_length}} can be expressed with {{cardinality}} and
{{from_json}}, but there's a caveat related to legacy Hive compatibility (see the demo notebook
for more details).
> I'm filing this ticket so that we can triage the list of Postgres JSON features and decide
which ones make sense to support in Spark. After we've done that, we can create individual
tickets for specific functions and features.

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message