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

Add MAP_CONTAINS_KEY function (enabled in Spark library)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.36.0
    • 1.37.0
    • core

    Description

      Add MAP_CONTAINS_KEY function (enabled in Spark library)

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

       

       

      > SELECT map_contains_key(map(1, 'a', 2, 'b'), 1);
       true
      > SELECT map_contains_key(map(1, 'a', 2, 'b'), 3);
       false 

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            caicancai Caican Cai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: