ClickHouse/tests/queries/0_stateless/00520_tuple_values_interpreter.sql

10 lines
331 B
MySQL
Raw Normal View History

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;