diff --git a/contrib/hyperscan b/contrib/hyperscan index 3907fd00ee8..e9f08df0213 160000 --- a/contrib/hyperscan +++ b/contrib/hyperscan @@ -1 +1 @@ -Subproject commit 3907fd00ee8b2538739768fa9533f8635a276531 +Subproject commit e9f08df0213fc637aac0a5bbde9beeaeba2fe9fa diff --git a/src/Interpreters/ExpressionAnalyzer.h b/src/Interpreters/ExpressionAnalyzer.h index 13561d128d4..5c69bcafc65 100644 --- a/src/Interpreters/ExpressionAnalyzer.h +++ b/src/Interpreters/ExpressionAnalyzer.h @@ -3,11 +3,10 @@ #include #include #include -#include -#include #include #include #include +#include #include #include #include diff --git a/src/Interpreters/TableJoin.h b/src/Interpreters/TableJoin.h index 8b2c23c206b..f2c8bc2d839 100644 --- a/src/Interpreters/TableJoin.h +++ b/src/Interpreters/TableJoin.h @@ -68,7 +68,7 @@ class TableJoin NamesAndTypesList columns_from_joined_table; /// Columns will be added to block by JOIN. It's a subset of columns_from_joined_table with corrected Nullability NamesAndTypesList columns_added_by_join; - /// Columns from right table that requres type conversion + /// Columns from right table that requires type conversion NamesAndTypesList converted_right_types; /// Name -> original name. Names are the same as in columns_from_joined_table list. diff --git a/tests/queries/0_stateless/01674_join_implicit_cast.reference b/tests/queries/0_stateless/01686_join_implicit_cast.reference similarity index 100% rename from tests/queries/0_stateless/01674_join_implicit_cast.reference rename to tests/queries/0_stateless/01686_join_implicit_cast.reference diff --git a/tests/queries/0_stateless/01674_join_implicit_cast.sql b/tests/queries/0_stateless/01686_join_implicit_cast.sql similarity index 98% rename from tests/queries/0_stateless/01674_join_implicit_cast.sql rename to tests/queries/0_stateless/01686_join_implicit_cast.sql index 348f1af476b..e5bab3e9243 100644 --- a/tests/queries/0_stateless/01674_join_implicit_cast.sql +++ b/tests/queries/0_stateless/01686_join_implicit_cast.sql @@ -1,6 +1,3 @@ -CREATE DATABASE IF NOT EXISTS test_01674; -USE test_01674; - DROP TABLE IF EXISTS t1; DROP TABLE IF EXISTS t2; @@ -79,6 +76,9 @@ SELECT * FROM t1 INNER JOIN t2 ON (t1.a == t2.a) ORDER BY (a); -- { serverError DROP TABLE IF EXISTS t1; DROP TABLE IF EXISTS t2; +DROP TABLE IF EXISTS t_ab1; +DROP TABLE IF EXISTS t_ab2; + CREATE TABLE t_ab1 (id Nullable(Int32), a UInt16, b UInt8) ENGINE = TinyLog; CREATE TABLE t_ab2 (id Nullable(Int32), a Int16, b Nullable(Int64)) ENGINE = TinyLog; INSERT INTO t_ab1 VALUES (0, 1, 1), (1, 2, 2); @@ -124,5 +124,3 @@ SELECT any(toTypeName(a)) == 'Int32' AND any(toTypeName(b)) == 'Nullable(Int64)' DROP TABLE IF EXISTS t_ab1; DROP TABLE IF EXISTS t_ab2; - -DROP DATABASE IF EXISTS test_01674;