Closed 0neSe7en closed 3 days ago
The greatest function only supports date. It would be great if it could support all comparable types. For now I have to use CASE WHEN to get the greatest value.
greatest
date
CASE WHEN
support select greatest(v1, 100) etc.
select greatest(v1, 100)
No response
reference to upstream: https://github.com/apache/datafusion/issues/6531
What problem does the new feature solve?
The
greatest
function only supportsdate
. It would be great if it could support all comparable types. For now I have to useCASE WHEN
to get the greatest value.What does the feature do?
support
select greatest(v1, 100)
etc.Implementation challenges
No response