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] fix doc in `EXTRACT(field FROM source) #2074

Merged
merged 1 commit into from
Mar 24, 2022

Conversation

Ted-Jiang
Copy link
Member

Closes #.

Rationale for this change

Sorry for my carelessness.

❯ select date_part('week', to_timestamp('2020-09-08T12:00:12+00:00'))
;
+-----------------------------------------------------------------------+
| datepart(Utf8("week"),totimestamp(Utf8("2020-09-08T12:00:12+00:00"))) |
+-----------------------------------------------------------------------+
| 37                                                                    |
+-----------------------------------------------------------------------+
1 row in set. Query took 0.005 seconds.
❯

week result should be 37.

What changes are included in this PR?

Are there any user-facing changes?

Copy link
Member

@jackwener jackwener left a comment

Choose a reason for hiding this comment

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

🤣

@yjshen yjshen merged commit d3c45c2 into apache:master Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants