mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Merge pull request #67966 from ClickHouse/vdimir/datetime64_constant_to_ast_f
Add test cases to 03217_datetime64_constant_to_ast
This commit is contained in:
commit
8508b1ba37
@ -1,2 +1,5 @@
|
||||
1970-01-01 00:00:01.000
|
||||
1970-01-01 00:00:01.000
|
||||
1970-01-01 00:00:01.000 0
|
||||
1970-01-01 00:00:01.000 0
|
||||
1970-01-01 00:00:01.000 0 localhost
|
||||
|
@ -4,3 +4,22 @@ SET session_timezone = 'UTC';
|
||||
SELECT toDateTime64('1970-01-01 00:00:01', 3)
|
||||
FROM remote('127.0.0.{1,2}', system, one)
|
||||
;
|
||||
|
||||
SELECT toDateTime64('1970-01-01 00:00:01', 3), dummy
|
||||
FROM remote('127.0.0.{1,2}', system, one)
|
||||
GROUP BY dummy
|
||||
ORDER BY dummy
|
||||
;
|
||||
|
||||
SELECT materialize(toDateTime64('1970-01-01 00:00:01', 3)), dummy
|
||||
FROM remote('127.0.0.{1,2}', system, one)
|
||||
GROUP BY dummy
|
||||
ORDER BY dummy
|
||||
;
|
||||
|
||||
|
||||
SELECT toDateTime64('1970-01-01 00:00:01', 3), sum(dummy), hostname()
|
||||
FROM remote('127.0.0.{1,2}', system, one)
|
||||
GROUP BY hostname()
|
||||
ORDER BY ALL
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user