-
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
Migrate Array function Documentation to code #12948
Conversation
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 so much @jonathanc-n -- this is epic
I went through this PR carefully and it all looks good to me
#### Aliases | ||
|
||
- generate_series | ||
|
||
## Struct Functions | ||
|
||
- [unnest](#unnest-struct) |
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 unnest
is special and not a scalar function. Perhaps as a follow on PR we can make a new page called "Special Functions" and put it there.
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.
Yeah, I can create one for that
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.
The only other special function I know of is make_map. See
if name.eq("make_map") { |
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.
Filed as #13036
} | ||
static DOCUMENTATION: OnceLock<Documentation> = OnceLock::new(); | ||
|
||
fn get_flatten_doc() -> &'static Documentation { |
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.
this is so nice to have this documentation as part of the function
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
I ran |
🚀 |
Which issue does this PR close?
Closes #12927 .
Rationale for this change
What changes are included in this PR?
Moved the static array docs to the new one.
Are these changes tested?
Are there any user-facing changes?