mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Merge pull request #39716 from arthurpassos/fix_scalar_cte_with_lc_result
Unwrap LC column in IExecutablefunction::executeWithoutSparseColumns
This commit is contained in:
commit
b84e65bb3b
@ -42,6 +42,11 @@ public:
|
||||
return 1;
|
||||
}
|
||||
|
||||
bool useDefaultImplementationForLowCardinalityColumns() const override
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool isSuitableForShortCircuitArgumentsExecution(const DataTypesWithConstInfo & /*arguments*/) const override { return false; }
|
||||
|
||||
DataTypePtr getReturnTypeImpl(const ColumnsWithTypeAndName & arguments) const override
|
||||
|
1
tests/queries/0_stateless/02375_scalar_lc_cte.reference
Normal file
1
tests/queries/0_stateless/02375_scalar_lc_cte.reference
Normal file
@ -0,0 +1 @@
|
||||
a
|
1
tests/queries/0_stateless/02375_scalar_lc_cte.sql
Normal file
1
tests/queries/0_stateless/02375_scalar_lc_cte.sql
Normal file
@ -0,0 +1 @@
|
||||
WITH ( SELECT toLowCardinality('a') ) AS bar SELECT bar
|
Loading…
Reference in New Issue
Block a user