Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-8117 [Datafusion] [Rust] allow cast SQLTimestamp to Timestamp #6618

Closed

Conversation

mcassels
Copy link

Because current sqlparser version cannot parse timestamps in queries, allowing casting number to timestamp enables selection on timestamp type columns.

@github-actions
Copy link

Copy link
Contributor

@paddyhoran paddyhoran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mcassels, LGTM.

Can we create an issue in the sqlparser crate also please?

@mcassels
Copy link
Author

Thanks @mcassels, LGTM.

Can we create an issue in the sqlparser crate also please?

Support for timestamp parsing was introduced in sqlparser 0.4, but datafusion currently uses 0.2. Unfortunately upgrading datafusion's sqlparser version is non-trivial, there's an issue for that here: https://issues.apache.org/jira/browse/ARROW-7903 .

@paddyhoran
Copy link
Contributor

Ah, I see. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants