apache / apache/datafusion-python
Deprecate Expr for functions that take only specific literals
- Lenguaje dominante
- Python
- Estrellas
- 604
- Forks
- 174
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 4
Descripción
**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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start with the discussion linked from PR #1484 to identify which functions accept only specific literal values. Trace those function definitions and their type hints, then check how deprecation warnings are handled elsewhere. Done means the affected hints emit deprecation warnings and the intended later removal is documented or covered by tests.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 45/100