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

Map normalization upon creation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      Add handling of map normalization upon creation in ArrayBasedMapBuilder. Currently a map with keys 0.0 and -0.0 will behave as if they are separate values. This will cause issues when doing GROUP BY on map types.

      Refer to this conversion https://github.com/apache/spark/pull/45549#discussion_r1537803505

      Attachments

        Issue Links

          Activity

            People

              stevomitric Stevo Mitric
              stevomitric Stevo Mitric
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: