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

Generalize projection parser

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.17.0
    • 1.18.0
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: