mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix types for function Capture.
This commit is contained in:
parent
5a0f356cd6
commit
a01b6496b6
@ -115,6 +115,7 @@ public:
|
||||
String getName() const override { return "FunctionCapture"; }
|
||||
|
||||
bool useDefaultImplementationForNulls() const override { return false; }
|
||||
bool useDefaultImplementationForLowCardinalityColumns() const override { return false; }
|
||||
|
||||
void execute(Block & block, const ColumnNumbers & arguments, size_t result, size_t input_rows_count) override
|
||||
{
|
||||
@ -243,6 +244,7 @@ public:
|
||||
|
||||
String getName() const override { return name; }
|
||||
bool useDefaultImplementationForNulls() const override { return false; }
|
||||
bool useDefaultImplementationForLowCardinalityColumns() const override { return false; }
|
||||
DataTypePtr getReturnType(const ColumnsWithTypeAndName &) const override { return return_type; }
|
||||
size_t getNumberOfArguments() const override { return capture->captured_types.size(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user