paul-rogers opened a new pull request #1974: DRILL-7574: Generalize the 
projection parser
URL: https://github.com/apache/drill/pull/1974
 
 
   Adds support for multi-dimensional arrays, and columns
   projected as both an array and a map.
   
   ## 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
   ```
   
   The revised version is more forgiving; it just describes what appears in the 
projection list without trying to enforce semantic rules like the previous 
version did.
   
   Modified consumers of the projection parser to reflect the changes.
   
   ## Documentation
   
   This feature is not user-visible.
   
   ## Testing
   
   Added new unit tests, revised existing unit tests. Reran all unit tests.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to