-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Added expresion to "with_standard_argument" #12926
Added expresion to "with_standard_argument" #12926
Conversation
@Omega359 Should be good now! thanks for the review |
@@ -295,10 +295,10 @@ fn get_concat_ws_doc() -> &'static Documentation { | |||
"separator", | |||
"Separator to insert between concatenated strings.", | |||
) | |||
.with_standard_argument("str", "String") | |||
.with_standard_argument("str", Some("String")) | |||
.with_standard_argument( |
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.
.with_standard_argument( | |
.with_argument( |
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.
I think github messed up the line, should be for this one
.with_standard_argument(
"str_n",
Some("Subsequent string expressions to concatenate."),
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.
Looks nice to me. Thank you @jonathanc-n @findepi and @Omega359
The CI failure https://github.com/apache/datafusion/actions/runs/11388211741/job/31684979969?pr=12926n should be fixed by #12991 I think |
@alamb It doesn't seem to be passing still despite the pr merge |
I @jonathanc-n -- maybe you could try to merge up from main locally and rerun update_docs.sh again? Maybe there is a logical conflict somewhere |
LGTM :) |
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.
Thank you @jonathanc-n and @Omega359 🚀
Which issue does this PR close?
Closes #.
Rationale for this change
In #12880, there is a discussion to add an option for when there is just 'expression' put in the docs.
What changes are included in this PR?
Added an option for "with_standard_argument", when None is passed through it passes the standard argument for when 'expression' is passed in.
Are these changes tested?
Are there any user-facing changes?