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

doc-gen: Migrate builtin scalar functions from code based documentation to attribute based #13671

Open
comphead opened this issue Dec 5, 2024 · 1 comment · May be fixed by #13878
Open

doc-gen: Migrate builtin scalar functions from code based documentation to attribute based #13671

comphead opened this issue Dec 5, 2024 · 1 comment · May be fixed by #13878
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers

Comments

@comphead
Copy link
Contributor

comphead commented Dec 5, 2024

Is your feature request related to a problem or challenge?

It is needed to migrate whenever it is possible builtin UDF documentation from code based to attribute based.

Function list can be found in SessionStateDefaults::default_scalar_functions()

Example can be found https://github.com/apache/datafusion/pull/13646/files#diff-1528bf73810e3fb12fd1d4e76a8b46acb650549ef37d3c131464e087f97ca515L25

The translation can be done manually or in semi automatic way, uncommenting a function in PR #13669 locally. This will generate local text files with attribute text which can be copy pasted to structs. However its still needed to remove code based documentation manually, add imports, etc

Please refer to PR #13646 which completed the migration for aggregation functions

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

@comphead comphead added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed and removed help wanted Extra attention is needed labels Dec 5, 2024
@alamb alamb changed the title doc-gen: Migrate builtin functions from code based documentation to attribute based doc-gen: Migrate builtin scalar functions from code based documentation to attribute based Dec 6, 2024
@Chen-Yuan-Lai
Copy link

take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants