Github user kiszk commented on a diff in the pull request:
https://github.com/apache/spark/pull/21706#discussion_r200457047
--- Diff: sql/core/src/test/resources/sql-tests/inputs/cast.sql ---
@@ -42,4 +42,23 @@ SELECT CAST('9223372036854775808' AS long);
DESC FUNCTION boolean;
DESC FUNCTION EXTENDED boolean;
+
--- End diff --
How about adding more cases?
invalid case: `interval 10 nanoseconds`
valid case: `interval 1 year 2 month 3 week 4 day 5 hour 6 minute -7
seconds 8 millisecond, 9 microsecond`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]