You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "timsaucer (via GitHub)" <gi...@apache.org> on 2026/04/14 14:43:19 UTC

[I] Deprecate Expr for functions that take only specific literals [datafusion-python]

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

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   
   This is the original comment that leads to this issue: https://github.com/apache/datafusion-python/pull/1484#discussion_r3079835791
   
   **Describe the solution you'd like**
   
   Add deprecation warnings, then remove`Expr` type hint in a later release
   
   **Describe alternatives you've considered**
   
   Leave as is
   
   **Additional context**
   
   We only allow specific values, so we can check them at the function invocation.
   


-- 
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] Deprecate Expr for functions that take only specific literals [datafusion-python]

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

   ## Next Step
   
   After the deprecation window, remove `Expr` from type hints for confirmed literal-only/control arguments. This is a future-release cleanup and should only apply to arguments that already emitted `DeprecationWarning` in prior releases.


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