apache / apache/datafusion-python

Deprecate Expr for functions that take only specific literals

Open
#1,496 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
604
Forks
174
Avg merge
1d 7h
Merged PRs (30d)
4

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.