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

Do not use bitmasks during parsing and analysis of CUBE/ROLLUP/GROUPING SETS

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: SQL
    • Labels:
      None
    • Target Version/s:

      Description

      We generate bitmasks for grouping sets during the parsing process, and use these during analysis. These bitmasks are difficult to work with in practice and have lead to numerous bugs. I suggest that we remove these and use actual sets instead, however we would need to generate these offsets for the grouping_id.

        Attachments

          Activity

            People

            • Assignee:
              jiangxb1987 Jiang Xingbo
              Reporter:
              hvanhovell Herman van Hovell
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: