ClickHouse/tests/queries/0_stateless/00520_tuple_values_interpreter.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

10 lines
331 B
SQL

DROP TABLE IF EXISTS tuple;
CREATE TABLE tuple (t Tuple(Date, UInt32, UInt64)) ENGINE = Memory;
INSERT INTO tuple VALUES ((concat('2000', '-01-01'), /* Hello */ 12+3, 45+6));
SET input_format_values_interpret_expressions = 0;
INSERT INTO tuple VALUES (('2000-01-01', 123, 456));
SELECT * FROM tuple ORDER BY t;
DROP TABLE tuple;