Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31008

Support json_array_length function

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • SQL
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              rakson Rakesh Raushan
              rakson Rakesh Raushan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: