diff --git a/dbms/src/Functions/FunctionsReinterpret.h b/dbms/src/Functions/FunctionsReinterpret.h index b0eebdee88e..59cdf7bc93d 100644 --- a/dbms/src/Functions/FunctionsReinterpret.h +++ b/dbms/src/Functions/FunctionsReinterpret.h @@ -261,7 +261,7 @@ using FunctionReinterpretAsDate = FunctionReinterpretStringAs; using FunctionReinterpretAsString = FunctionReinterpretAsStringImpl; -using FunctionReinterpretAsFixedString = FunctionReinterpretAsStringImpl; +using FunctionReinterpretAsFixedString = FunctionReinterpretAsFixedStringImpl; } diff --git a/dbms/tests/queries/0_stateless/01079_reinterpret_as_fixed_string.reference b/dbms/tests/queries/0_stateless/01079_reinterpret_as_fixed_string.reference new file mode 100644 index 00000000000..ee1745e054b --- /dev/null +++ b/dbms/tests/queries/0_stateless/01079_reinterpret_as_fixed_string.reference @@ -0,0 +1 @@ +FixedString(4) diff --git a/dbms/tests/queries/0_stateless/01079_reinterpret_as_fixed_string.sql b/dbms/tests/queries/0_stateless/01079_reinterpret_as_fixed_string.sql new file mode 100644 index 00000000000..0571985b8e4 --- /dev/null +++ b/dbms/tests/queries/0_stateless/01079_reinterpret_as_fixed_string.sql @@ -0,0 +1 @@ +select toTypeName(reinterpretAsFixedString(0xdeadbeef));