lowka commented on code in PR #5578: URL: https://github.com/apache/ignite-3/pull/5578#discussion_r2032952028
########## modules/sql-engine/src/integrationTest/sql/group1/types/timestamp/test_timestamp_ltz.test: ########## @@ -0,0 +1,265 @@ +# name: test/sql/types/timestamp/test_timestamp.test Review Comment: Done. ########## modules/sql-engine/src/integrationTest/sql/group1/types/timestamp/test_timestamp_ltz.test: ########## @@ -0,0 +1,265 @@ +# name: test/sql/types/timestamp/test_timestamp.test +# description: Test TIMESTAMP WITH LOCAL TIME ZONE type +# group: [timestamp] + +statement ok +PRAGMA enable_verification + +statement ok +PRAGMA time_zone=Europe/Paris + +query T +SELECT TIMESTAMP WITH LOCAL TIME ZONE '2017-07-23 13:10:11'::VARCHAR +---- +2017-07-23 13:10:11 Europe/Paris + +query T +SELECT TIMESTAMP WITH LOCAL TIME ZONE '2017-07-23 13:10:11' +---- +2017-07-23T11:10:11Z + +statement error: Illegal TIMESTAMP WITH LOCAL TIME ZONE literal +SELECT TIMESTAMP WITH LOCAL TIME ZONE ' 2017-07-23 13:10:11 '; + +# other trailing, preceding, or middle gunk is not accepted +statement error: Illegal TIMESTAMP WITH LOCAL TIME ZONE literal +SELECT TIMESTAMP WITH LOCAL TIME ZONE ' 2017-07-23 13:10:11 AA'; + +query I +SELECT YEAR(TIMESTAMP '1992-01-01 01:01:01'); Review Comment: Thanks. Fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org