diff --git a/tests/queries/0_stateless/03250_ephemeral_comment.reference b/tests/queries/0_stateless/03250_ephemeral_comment.reference new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/queries/0_stateless/03250_ephemeral_comment.sql b/tests/queries/0_stateless/03250_ephemeral_comment.sql new file mode 100644 index 00000000000..906417b9c29 --- /dev/null +++ b/tests/queries/0_stateless/03250_ephemeral_comment.sql @@ -0,0 +1,11 @@ +drop table if exists test; +CREATE TABLE test ( + `start_s` UInt32 EPHEMERAL COMMENT 'start UNIX time' , + `start_us` UInt16 EPHEMERAL COMMENT 'start microseconds', + `finish_s` UInt32 EPHEMERAL COMMENT 'finish UNIX time', + `finish_us` UInt16 EPHEMERAL COMMENT 'finish microseconds', + `captured` DateTime MATERIALIZED fromUnixTimestamp(start_s), + `duration` Decimal32(6) MATERIALIZED finish_s - start_s + (finish_us - start_us)/1000000 +) +ENGINE Null; +drop table if exists test;