You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "ntjohnson1 (via GitHub)" <gi...@apache.org> on 2026/03/18 20:13:46 UTC

[I] Reduce number of function aliases [datafusion-python]

ntjohnson1 opened a new issue, #1436:
URL: https://github.com/apache/datafusion-python/issues/1436

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   In the effort to add examples to the functions we decided to not add examples for the aliases because of maintenance burden. I couldn't find discussion (or didn't look sufficiently hard enough) about why we have all these aliases anyway.
   
   **Describe the solution you'd like**
   I would like no aliases but instead a consistent api (ex. pick list or array), so there's only one way to call things a la Zen of Python.
   
   **Describe alternatives you've considered**
   Not changing things.
   
   **Additional context**
   This seems related to https://github.com/apache/datafusion-python/issues/1394 since a smaller surface probably makes the mapping to pandas/polars/etc easier.


-- 
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] Reduce number of function aliases [datafusion-python]

Posted by "timsaucer (via GitHub)" <gi...@apache.org>.
timsaucer commented on issue #1436:
URL: https://github.com/apache/datafusion-python/issues/1436#issuecomment-4156514112

   I disagree on this one. The reason I disagree is that the underlying SQL code will accept these aliases based on the upstream repo. I think it's beneficial to have users who have working SQL code and want to transition part or all of it to dataframe APIs that we have the similar support on both fronts.
   
   I do think the approach of not documenting fully the aliases is the correct one. 


-- 
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] Reduce number of function aliases [datafusion-python]

Posted by "ntjohnson1 (via GitHub)" <gi...@apache.org>.
ntjohnson1 closed issue #1436: Reduce number of function aliases
URL: https://github.com/apache/datafusion-python/issues/1436


-- 
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