You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
DataFusion 56 has a timezone(zone, expression) scalar function, the function form of expression AT TIME ZONE zone. It is available in SQL but has no wrapper in datafusion.functions, so the DataFrame API has no direct way to convert a timestamp to another timezone.
Describe the solution you'd like
Add functions.timezone(zone, arg) with a docstring example and a test in python/tests/test_functions.py.
Describe alternatives you've considered
Running the conversion through ctx.sql, or to_local_time, which only covers stripping the timezone.
Additional context
Found by comparing the Python API with DataFusion 56.0.0 using the check-upstream skill.
Activity