Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5918

Add MAP function (enabled in Spark library)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.35.0
    • 1.36.0
    • core

    Description

      Apache Spark map constructor is different than the standard SQL:

      https://spark.apache.org/docs/3.4.0/api/sql/index.html#map

       

      SELECT map(1.0, '2', 3.0, '4');
      // {1.0:"2",3.0:"4"} 

       

      related PR that can help implement this: https://github.com/apache/calcite/pull/3141

      Attachments

        Issue Links

          Activity

            People

              taoran Ran Tao
              MasseGuillaume Guillaume Massé
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: