Merge pull request #12056 from ClickHouse/fix-11808

Fix defaultValueOfArgumentType
This commit is contained in:
alesapin 2020-07-02 13:35:38 +03:00 committed by GitHub
commit 65dae99c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,7 @@ public:
}
bool useDefaultImplementationForNulls() const override { return false; }
bool useDefaultImplementationForLowCardinalityColumns() const override { return false; }
size_t getNumberOfArguments() const override
{

View File

@ -0,0 +1 @@
LowCardinality(String)

View File

@ -0,0 +1,4 @@
SELECT
materialize(toLowCardinality('')) AS lc,
toTypeName(lc)
WHERE lc = defaultValueOfArgumentType(lc)