vvysotskyi opened a new pull request #2028: DRILL-7643: Fix issues with using 
columns with the same name as a reserved keyword
URL: https://github.com/apache/drill/pull/2028
 
 
   # [DRILL-7643](https://issues.apache.org/jira/browse/DRILL-7643): Fix issues 
with using columns with the same name as a reserved keyword
   
   ## Description
   
   `SchemaPath.parseFromString()` method takes into an account reserved words 
and spaces in column names, so if the column wasn't escaped, it may fail, for 
example, the following calls will fail: `SchemaPath.parseFromString("date")`, 
`SchemaPath.parseFromString("column name")`, but the following calls are valid: 
``SchemaPath.parseFromString("`date`")``, ``SchemaPath.parseFromString("`column 
name`")``.
   
   Revised usages of this method and replaced it where needed.
   
   ## Documentation
   NA
   
   ## Testing
   Updated existing tests to check this issue. Ran all tests suite.
   

----------------------------------------------------------------
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