Commits


Mike Seddon authored and Andrew Lamb committed e980ef84392
ARROW-10817: [Rust] [DataFusion] Implement TypedString and DATE coercion 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) ``` FYI I am planning to tackle `INTERVAL` next. Closes #8892 from seddonm1/typed_string Authored-by: Mike Seddon <seddonm1@gmail.com> Signed-off-by: Andrew Lamb <andrew@nerdnetworks.org>