Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9413 Support MapType in Tungsten
  3. SPARK-9415

MapType should not support equality & ordering

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.5.0
    • SQL
    • None

    Description

      MapType today happened to support equality comparison because we use Scala maps under the hood. However, map type should not support equality, hash, or ordering (i.e. cannot be used as join keys, grouping keys, or in equality/ordering tests).

      We should throw the appropriate analysis exception for these cases.

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            rxin Reynold Xin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: