sarahyurick opened a new pull request, #3763:
URL: https://github.com/apache/arrow-datafusion/pull/3763

   # Rationale for this change
   While working on the `TIMESTAMPADD` function for 
https://github.com/dask-contrib/dask-sql/pull/813, I was having trouble parsing 
something like `TIMESTAMPADD(YEAR, 2, d)` (SchemaError FieldNotField) because 
`YEAR` is not a column name in the table.
   
   # What changes are included in this PR?
   I created a new function to iterate through the arguments of a function and 
check if any of them are unquoted datetime keywords. If so, I essentially 
modify the argument to be a quoted string instead.
   
   # Are there any user-facing changes?
   None.
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to