Cover FunctionUnixTimestamp64 with constant argument

This commit is contained in:
Azat Khuzhin 2020-08-01 13:32:38 +03:00
parent 3b022b85a5
commit 8f83c262d5
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,2 @@
0000-00-00 00:00:00
0000-00-00 00:00:00

View File

@ -0,0 +1,5 @@
-- regression for "DB::Exception: Size of filter doesn't match size of column.."
SELECT toDateTime(fromUnixTimestamp64Micro(toInt64(0))) as ts FROM numbers_mt(2) WHERE ts+1=ts;
-- regression for "Invalid number of rows in Chunk column UInt32: expected 2, got 1."
SELECT toDateTime(fromUnixTimestamp64Micro(toInt64(0))) ts FROM numbers(2);