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-13916: [C++] Implement strftime on date32/64 types #11219

Closed
wants to merge 2 commits into from

Conversation

rok
Copy link
Member

@rok rok commented Sep 23, 2021

This is to resolve ARROW-13916.

@github-actions
Copy link

@@ -566,6 +566,14 @@ TEST_F(ScalarTemporalTest, Strftime) {
utf8(), string_microseconds, &options);
CheckScalarUnary("strftime", timestamp(TimeUnit::NANO, "US/Hawaii"), nanoseconds,
utf8(), string_nanoseconds, &options);

auto options2 = StrftimeOptions("%Y-%m-%d");
Copy link
Member

Choose a reason for hiding this comment

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

Can you also add a test with formatting hours/minutes/seconds? (I suppose those will just work, with all 0?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Will add. I suspect so.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@rok rok force-pushed the ARROW-13916 branch 7 times, most recently from 21c0bad to 23b6bd2 Compare September 27, 2021 13:52
@rok
Copy link
Member Author

rok commented Sep 27, 2021

@pitrou @lidavidm

Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

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

LGTM, thank you.

@pitrou pitrou closed this in 0da36f9 Sep 27, 2021
ViniciusSouzaRoque pushed a commit to s1mbi0se/arrow that referenced this pull request Oct 20, 2021
This is to resolve [ARROW-13916](https://issues.apache.org/jira/browse/ARROW-13916).

Closes apache#11219 from rok/ARROW-13916

Authored-by: Rok <rok@mihevc.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
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

4 participants