You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Omega359 (via GitHub)" <gi...@apache.org> on 2024/10/21 13:30:05 UTC
[I] docs: Add section or page for special functions [datafusion]
Omega359 opened a new issue, #13036:
URL: https://github.com/apache/datafusion/issues/13036
### Is your feature request related to a problem or challenge?
As mentioned in https://github.com/apache/datafusion/pull/12948#discussion_r1802076218 there are a few scalar functions that are not normal UDF's and cannot be documented in the standard manner as per https://github.com/apache/datafusion/issues/12740 Thus we need to find a way to add documentation for those functions to the user guide once the scalar function documentation is completely migrated over to the new code driven design.
### Describe the solution you'd like
A few idea:
- Hardcode a section into the generated scalar-functions.md for these functions
- Add a new page to the documentation that outlines 'special' functions
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] docs: Add section or page for special functions [datafusion]
Posted by "Omega359 (via GitHub)" <gi...@apache.org>.
Omega359 commented on issue #13036:
URL: https://github.com/apache/datafusion/issues/13036#issuecomment-2435262932
Here is a list of the remaining 'special' functions as I see it. Unnest is really the only special function, the others are just existing functions with different syntax such as `substring('Thomas' from 2 for 3) → hom`.
- unnest (array), unnest(struct)
- extract - it's data_part, but with different syntax
- position - it's strpos, but with different syntax
- substring, it's substr, but with different syntax
- trim, it's one of the trim functions, but with different syntax
I am unsure right now how to properly document the 'different syntax' types of functions. Perhaps these should be covered in a page that covers things like `ilike`, `cube`, `trim`, etc.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] docs: Add section or page for special functions [datafusion]
Posted by "jonathanc-n (via GitHub)" <gi...@apache.org>.
jonathanc-n commented on issue #13036:
URL: https://github.com/apache/datafusion/issues/13036#issuecomment-2427177278
take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] docs: Add section or page for special functions [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #13036: docs: Add section or page for special functions
URL: https://github.com/apache/datafusion/issues/13036
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org