2022-08-21 21:12:41 +00:00
|
|
|
CREATE TEMPORARY TABLE test (`i` Int64, `d` DateTime);
|
|
|
|
INSERT INTO test FORMAT JSONEachRow {"i": 123, "d": "2022-05-03"};
|
|
|
|
INSERT INTO test FORMAT JSONEachRow {"i": 456, "d": "2022-05-03 01:02:03"};
|
2022-08-21 22:39:06 +00:00
|
|
|
SELECT * FROM test ORDER BY i;
|
2022-08-21 21:12:41 +00:00
|
|
|
|
|
|
|
DROP TABLE test;
|
|
|
|
|
|
|
|
CREATE TEMPORARY TABLE test (`i` Int64, `d` DateTime64);
|
|
|
|
INSERT INTO test FORMAT JSONEachRow {"i": 123, "d": "2022-05-03"};
|
|
|
|
INSERT INTO test FORMAT JSONEachRow {"i": 456, "d": "2022-05-03 01:02:03"};
|
2022-08-21 22:39:06 +00:00
|
|
|
SELECT * FROM test ORDER BY i;
|
2022-08-21 21:12:41 +00:00
|
|
|
|
|
|
|
DROP TABLE test;
|