This commit is contained in:
Kruglov Pavel 2022-10-14 21:52:56 +02:00 committed by GitHub
parent e16cfd361b
commit 024d0706c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,10 +6,10 @@ select * from format('TSV', '2022-04-22T03:45:06.381Z');
select * from format('TSV', '01/12/1925'); select * from format('TSV', '01/12/1925');
set date_time_input_format = 'best_effort'; set date_time_input_format = 'best_effort';
select * from format('TSV', '2022-04-22T03:45:06.381'); select * from format('TSV', '2022-04-22T03:45:06.381');
select * from format('TSV', '2022-04-22T03:45:06.381Z'); select toTimeZone(c1, 'UTC') from format('TSV', '2022-04-22T03:45:06.381Z');
select * from format('TSV', '01/12/1925'); select * from format('TSV', '01/12/1925');
set date_time_input_format = 'best_effort_us'; set date_time_input_format = 'best_effort_us';
select * from format('TSV', '2022-04-22T03:45:06.381'); select * from format('TSV', '2022-04-22T03:45:06.381');
select * from format('TSV', '2022-04-22T03:45:06.381Z'); select toTimeZone(c1, 'UTC') from format('TSV', '2022-04-22T03:45:06.381Z');
select * from format('TSV', '01/12/1925'); select * from format('TSV', '01/12/1925');