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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: SQL
    • Labels:
      None
    • Target Version/s:

      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

            • Assignee:
              viirya L. C. Hsieh
              Reporter:
              rxin Reynold Xin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: