Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7574

Generalize projection parser

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.17.0
    • Fix Version/s: 1.18.0
    • Component/s: None
    • Labels:

      Description

      EVF contains a bit of code called the"projection parser": it takes a projection list and converts it into a form useful for scan projection. The prior version handled single-level arrays, such as needed for the `columns` column in the text reader. For JSON, we must handle arbitrary column structures such as:

      a, a.b, a[1], a[1][2], a.[1][2].b
      

      Adding the DICT type means that we must be a bit more general in the parser. This ticket fixes these issues.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Paul.Rogers Paul Rogers
                Reporter:
                Paul.Rogers Paul Rogers
                Reviewer:
                Bohdan Kazydub
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: