lameyer opened a new pull request #1352: [CALCITE-3218] Syntax error while 
parsing DATEADD function (which is valid on Redshift)
URL: https://github.com/apache/calcite/pull/1352
 
 
   Queries like this: 
   
   ```
   SELECT DATEADD(day, 1, t) from mytable
   ``` 
   
   would fail the parser when it reached `day`. This PR adds functions with 
unquoted dateparts to the parser for `DATEADD`, `DATEDIFF`, and `DATE_PART` on 
Redshift.
   
   discussed with @julianhyde and he is going to move this logic to the babel 
parser, as mentioned in https://issues.apache.org/jira/browse/CALCITE-3218

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