-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Docs: Update SQL example for current_time() and current_date(). #18200
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
Conversation
…zone (optional) for current_time() and current_date().
|
@alamb could you please take a look |
|
I believe these should be modified in the source files instead of this doc as it gets autogenerated, see: datafusion/datafusion/functions/src/datetime/current_date.rs Lines 32 to 40 in b5b7f9b
You could add it via a datafusion/datafusion/functions-nested/src/range.rs Lines 63 to 77 in b5b7f9b
Then run |
|
thanks, ill modify this accordingly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Jefffrey and @codetyri0n - this looks like an improvement to me
…he#18200) ## Which issue does this PR close? - Closes apache#18199 ## What changes are included in this PR? - Added a SQL example in scalar functions md to demonstrate setting execution time zone (optional) for current_time() and current_date(). ## Are these changes tested? ## Are there any user-facing changes?
…he#18200) ## Which issue does this PR close? - Closes apache#18199 ## What changes are included in this PR? - Added a SQL example in scalar functions md to demonstrate setting execution time zone (optional) for current_time() and current_date(). ## Are these changes tested? ## Are there any user-facing changes?
Which issue does this PR close?
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?