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

Migrate documentation for all core functions from scalar_functions.md to code #12854

Merged
merged 4 commits into from
Oct 11, 2024

Conversation

Omega359
Copy link
Contributor

@Omega359 Omega359 commented Oct 10, 2024

Which issue does this PR close?

Closes #12801

Rationale for this change

Documentation migration

What changes are included in this PR?

docs, minor updates/improvements in getfield udf.

Are these changes tested?

Yes.

Are there any user-facing changes?

Docs updated.

@github-actions github-actions bot added documentation Improvements or additions to documentation logical-expr Logical plan and expressions core Core DataFusion crate functions labels Oct 10, 2024
@Omega359 Omega359 marked this pull request as ready for review October 10, 2024 15:48
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @Omega359 -- this looks great to me. I ran out of time to review this PR today but I will do tomorrow if no one beats me to it

@jonathanc-n
Copy link
Contributor

@Omega359 This looks good to me!

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good to me -- thank you @Omega359 and @jonathanc-n

This PR has a merge conflict so I merged up from main to resolve it and plan to merge this PR when CI is complete

@@ -133,7 +134,7 @@ impl ScalarUDFImpl for GetFieldFunc {
DataType::Struct(fields) if fields.len() == 2 => {
// Arrow's MapArray is essentially a ListArray of structs with two columns. They are
// often named "key", and "value", but we don't require any specific naming here;
// instead, we assume that the second columnis the "value" column both here and in
// instead, we assume that the second column is the "value" column both here and in
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

@alamb alamb merged commit eddade7 into apache:main Oct 11, 2024
25 checks passed
@Omega359 Omega359 deleted the feature/12801_core_docs branch October 25, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate documentation Improvements or additions to documentation functions logical-expr Logical plan and expressions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate documentation for all core functions from scalar_functions.md to code
3 participants