From dadeb3d8b900c976407525446386a31765d47170 Mon Sep 17 00:00:00 2001 From: alesapin Date: Wed, 22 Apr 2020 20:14:34 +0300 Subject: [PATCH] Remove casts from tests references --- tests/queries/0_stateless/00294_shard_enums.reference | 8 ++++---- ...15_shard_desc_table_functions_and_subqueries.reference | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/queries/0_stateless/00294_shard_enums.reference b/tests/queries/0_stateless/00294_shard_enums.reference index dc212804d61..495b8321af3 100644 --- a/tests/queries/0_stateless/00294_shard_enums.reference +++ b/tests/queries/0_stateless/00294_shard_enums.reference @@ -1,24 +1,24 @@ -d Date DEFAULT CAST(\'2015-12-29\', \'Date\') +d Date DEFAULT \'2015-12-29\' k UInt8 DEFAULT 0 e Enum8(\'hello\' = 1, \'world\' = 2) sign Enum8(\'minus\' = -1, \'plus\' = 1) letter Enum16(\'*\' = -256, \'a\' = 0, \'b\' = 1, \'c\' = 2) 2015-12-29 0 hello minus * -d Date DEFAULT CAST(\'2015-12-29\', \'Date\') +d Date DEFAULT \'2015-12-29\' k UInt8 DEFAULT 0 e Enum8(\'hello\' = 1, \'world\' = 2, \'!\' = 3) sign Enum8(\'minus\' = -1, \'plus\' = 1) letter Enum16(\'*\' = -256, \'a\' = 0, \'b\' = 1, \'c\' = 2) 2015-12-29 0 hello minus * 2015-12-29 0 ! plus b -d Date DEFAULT CAST(\'2015-12-29\', \'Date\') +d Date DEFAULT \'2015-12-29\' k UInt8 DEFAULT 0 e Enum16(\'hello\' = 1, \'world\' = 2, \'!\' = 3) sign Enum16(\'minus\' = -1, \'plus\' = 1) letter Enum16(\'no letter\' = -256, \'a\' = 0, \'b\' = 1, \'c\' = 2) 2015-12-29 0 hello minus no letter 2015-12-29 0 ! plus b -d Date DEFAULT CAST(\'2015-12-29\', \'Date\') +d Date DEFAULT \'2015-12-29\' k UInt8 DEFAULT 0 e Enum8(\'hello\' = 1, \'world\' = 2, \'!\' = 3) sign Enum8(\'minus\' = -1, \'plus\' = 1) diff --git a/tests/queries/0_stateless/00515_shard_desc_table_functions_and_subqueries.reference b/tests/queries/0_stateless/00515_shard_desc_table_functions_and_subqueries.reference index 11a674654c5..77195eefa7a 100644 --- a/tests/queries/0_stateless/00515_shard_desc_table_functions_and_subqueries.reference +++ b/tests/queries/0_stateless/00515_shard_desc_table_functions_and_subqueries.reference @@ -1,25 +1,25 @@ date Date val UInt64 val2 UInt8 DEFAULT 42 -val3 UInt8 DEFAULT CAST(val2 + 1, \'UInt8\') +val3 UInt8 DEFAULT val2 + 1 val4 UInt64 ALIAS val - date Date val UInt64 val2 UInt8 DEFAULT 42 -val3 UInt8 DEFAULT CAST(val2 + 1, \'UInt8\') +val3 UInt8 DEFAULT val2 + 1 val4 UInt64 ALIAS val - date Date val UInt64 val2 UInt8 DEFAULT 42 -val3 UInt8 DEFAULT CAST(val2 + 1, \'UInt8\') +val3 UInt8 DEFAULT val2 + 1 val4 UInt64 ALIAS val - date Date val UInt64 val2 UInt8 DEFAULT 42 -val3 UInt8 DEFAULT CAST(val2 + 1, \'UInt8\') +val3 UInt8 DEFAULT val2 + 1 val4 UInt64 ALIAS val - 1 UInt8