-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge?
Currently, when we add a new function to DataFusion library we have to remember to document that function in the documentation, but currently we have to remember this during code review.
This has a few downsides:
- we have forgotten to document some functions
- the documentation has drifted over time,
- help text for various functions can only be found on the DataFusion website, and not, for example within the function itself.
@Omega359 has created the basic framework for automatically generating content in #12668
This ticket tracks the work required to port the rest of the documentation to programatic form
Tasks
- Automatically generate function documentation from comments / code #12432
- Improve description of function migration #12743
- Remove redundant aggregate/window/scalar function documentation #12745
- feat: Add
alternative_syntaxfunction for docs #13139 - Remove old static documentation function pages (Aggregate/Scalar) #12741
- Remove old static Window Functions page #13171
- Add support for
DESCRIBE xyz; where xyz is a function. Ideally this would support not just the core functions in DF but also any added externally (for example those in https://github.com/datafusion-contrib/datafusion-functions-extra) and verify it works in the CLI - Look into generating the function sections in expressions.md (it's a bit out of date)
- Make generate_function_docs.sh error if there is a function without documentation
Aggregate Function Documentation Migration
- Migrate documentation for aggregate functions from aggregate_functions.md to code #12827
- Port / Add
Documentationfor BitwiseOperation - Port / Add
Documentationfor VarianceSample Port / Add Documentation forVarianceSampleandVariancePopulation#12742 - Port / Add
Documentationfor VariancePopulation Port / Add Documentation forVarianceSampleandVariancePopulation#12742
Scalar Function Documentation Migration
- [EPIC] Improve examples to make them easier to navigate #11172
- Migrate documentation for all string functions from scalar_functions.md to code #12775
- Migrate documentation for all array functions from scalar_functions.md to code #12927
- Migrate documentation for all crypto functions from scalar_functions.md to code #12828
- Migrate documentation for all datetime functions from scalar_functions.md to code #12859
- Migrate documentation for all encoding functions from scalar_functions.md to code #12858
- Migrate documentation for all math functions from scalar_functions.md to code #12867
- Migrate documentation for all regex functions from scalar_functions.md to code #12868
- Migrate documentation for all string functions from scalar_functions.md to code #12934
- Migrate documentation for all unicode functions from scalar_functions.md to code #12935
Window Function Documentation Migration
- Port / Add
DocumentationforLead - Port / Add
DocumentationforRowNumber - Migrate documentation for remaining window functions to window_functions.md #12936
dmitriibugakov and matthewmturner
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request