datafusion icon indicating copy to clipboard operation
datafusion copied to clipboard

Add support for `TIME` literal values

Open andygrove opened this issue 3 years ago • 1 comments

Is your feature request related to a problem or challenge? Please describe what you are trying to do. We have support for DATE literals:

SELECT DATE '2001-12-31' AS "T";
+------------+
| T          |
+------------+
| 2001-12-31 |
+------------+

However, we do not have support for TIME literals:

SELECT TIME '08:08:00.091' AS "T";
NotImplemented("Unsupported SQL type Time")

Describe the solution you'd like Add support for TIME literal

Describe alternatives you've considered None

Additional context None

andygrove avatar Jul 12 '22 15:07 andygrove

Depends on https://github.com/apache/arrow-rs/issues/2053

andygrove avatar Jul 12 '22 17:07 andygrove