github-actions[bot] closed pull request #15202: Draft: Parse literal to
different types
URL: https://github.com/apache/datafusion/pull/15202
--
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 speci
github-actions[bot] commented on PR #15202:
URL: https://github.com/apache/datafusion/pull/15202#issuecomment-2887964733
Thank you for your contribution. Unfortunately, this pull request is stale
because it has been open 60 days with no activity. Please remove the stale
label or comment or
jayzhan211 commented on PR #15202:
URL: https://github.com/apache/datafusion/pull/15202#issuecomment-2721213988
This query is tricky.
`SELECT to_date('2131');`
If we treat `'2131'` as int, we need to allow integer for `to_date`, but
if we pass real integer to `to_date`
jayzhan211 commented on PR #15202:
URL: https://github.com/apache/datafusion/pull/15202#issuecomment-2721074045
I analysis some errors and I think if we fix the way we parse sql, we can
find an optimal type for the literal easily
```
External error: statement failed: DataFusion