Merge pull request #9052 from oandrew/reinterpret-fixedstring-bugfix

Use correct implementation for reinterpretAsFixedString
This commit is contained in:
alexey-milovidov 2020-02-16 06:11:13 +03:00 committed by GitHub
commit 76f09ec883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -261,7 +261,7 @@ using FunctionReinterpretAsDate = FunctionReinterpretStringAs<DataTypeDate,
using FunctionReinterpretAsDateTime = FunctionReinterpretStringAs<DataTypeDateTime, NameReinterpretAsDateTime>;
using FunctionReinterpretAsString = FunctionReinterpretAsStringImpl<NameReinterpretAsString>;
using FunctionReinterpretAsFixedString = FunctionReinterpretAsStringImpl<NameReinterpretAsFixedString>;
using FunctionReinterpretAsFixedString = FunctionReinterpretAsFixedStringImpl<NameReinterpretAsFixedString>;
}

View File

@ -0,0 +1 @@
FixedString(4)

View File

@ -0,0 +1 @@
select toTypeName(reinterpretAsFixedString(0xdeadbeef));