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

Minor: expose timestamp_tz_format for csv writing #5890

Merged
merged 4 commits into from
Jun 17, 2024

Conversation

tmi
Copy link
Contributor

@tmi tmi commented Jun 14, 2024

Which issue does this PR close?

Pre-requisite for closing apache/datafusion#8640

What changes are included in this PR?

We just add a get/set for timestamp_tz_format to csv writer builder, similarly to other fields. Probably was an omission.

Are there any user-facing changes?

No.

@github-actions github-actions bot added the arrow Changes to the arrow crate label Jun 14, 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.

Looks good to me -- thank you @tmi

I wonder if we should add a test for this 🤔 -- realistically I am not sure how much additional value it would add

@tmi
Copy link
Contributor Author

tmi commented Jun 17, 2024

I wonder if we should add a test for this 🤔 -- realistically I am not sure how much additional value it would add

I peeked and there's a good tests coverage in this module, so I added a trivial one for the tz fmt as well

@alamb
Copy link
Contributor

alamb commented Jun 17, 2024

I took the liberty of merging up from master and fixing clippy on this branch

@alamb alamb merged commit 72467c6 into apache:master Jun 17, 2024
22 checks passed
@alamb
Copy link
Contributor

alamb commented Jun 17, 2024

Thanks again @tmi

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

Successfully merging this pull request may close these issues.

2 participants