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

Support to uparse logical plans with timestamp cast to string #11326

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

sgrebnov
Copy link
Member

@sgrebnov sgrebnov commented Jul 8, 2024

Which issue does this PR close?

Closes #11325

Rationale for this change

What changes are included in this PR?

Convert Arrow timestamp to ast::DateTime::Timestamp instead of failing. This allows the next steps to produce cast statements and successfully complete unparsing.

Are these changes tested?

Added unit tests, also tested manually.

Are there any user-facing changes?

@github-actions github-actions bot added the sql SQL Planner label Jul 8, 2024
@sgrebnov sgrebnov force-pushed the sgrebnov/improve-timestamp-support branch from 1c97dd2 to acba92f Compare July 8, 2024 07:40
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Awesome -- thank you @sgrebnov

@alamb alamb merged commit 2bd14cf into apache:main Jul 8, 2024
23 checks passed
@phillipleblanc phillipleblanc deleted the sgrebnov/improve-timestamp-support branch July 14, 2024 23:03
findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
xinlifoobar pushed a commit to xinlifoobar/datafusion that referenced this pull request Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sql SQL Planner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support to uparse logical plan with timestamp cast to string
2 participants