seddonm1 opened a new pull request #8892:
URL: https://github.com/apache/arrow/pull/8892


   This PR adds support for what the `sqlparser` crate calls `TypedString` 
which is basically syntactic sugar for an inline-cast. As this was an effort to 
get the `TPC-H` queries behaving correctly I then went a step further and added 
support for `Date` (temporal) coercion. I can split this PR if needed.
   
   ```sql
   where
       l_shipdate <= date '1998-09-02'
   ```
   
   is equivalent to
   
   ```sql
   where
       l_shipdate <= CAST('1998-09-02' AS DATE)
   ```


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


Reply via email to