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 unparse TimestampSecond and TimestampMicrosecond to String #11120

Merged
merged 4 commits into from
Jun 26, 2024

Conversation

goldmedal
Copy link
Contributor

Which issue does this PR close?

The follow-up of #11046 and #10984. Part of #9494

Rationale for this change

What changes are included in this PR?

Are these changes tested?

yes

Are there any user-facing changes?

no

@github-actions github-actions bot added the sql SQL Planner label Jun 25, 2024
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.

Thank you (again) for this very nice contribution @goldmedal

))?.to_string()
};
self.timestamp_string_to_sql(result)
self.handle_timestamp::<TimestampMillisecondType>(v, tz)
Copy link
Contributor

Choose a reason for hiding this comment

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

It is a very nice refactor to move this code into its own function. ❤️

@goldmedal goldmedal force-pushed the feature/unparse-timstamp branch from a455305 to bfb6521 Compare June 26, 2024 14:54
@alamb alamb merged commit 550c936 into apache:main Jun 26, 2024
23 checks passed
@goldmedal goldmedal deleted the feature/unparse-timstamp branch June 26, 2024 16:11
findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
…ring (apache#11120)

* support to unparse TimestampSecond and TimestampMicrosecond

* cargo fmt

* fmt
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.

2 participants