| 512 | bool useDefaultImplementationForConstants() const override { return true; } |
| 513 | |
| 514 | ColumnPtr executeImpl(const ColumnsWithTypeAndName & arguments, const DataTypePtr & result_type, size_t input_rows_count) const override |
| 515 | { |
| 516 | if (null_presence.has_null_constant) |
| 517 | return result_type->createColumnConstWithDefaultValue(input_rows_count); |
| 518 | |
| 519 | auto temp_arguments = null_presence.has_nullable ? createBlockWithNestedColumns(arguments) : arguments; |
| 520 | auto temporary_result = Derived::run(temp_arguments, json_return_type, input_rows_count); |
| 521 | if (null_presence.has_nullable) |
| 522 | return wrapInNullable(temporary_result, arguments, result_type, input_rows_count); |
| 523 | return temporary_result; |
| 524 | } |
| 525 | |
| 526 | private: |
| 527 | NullPresence null_presence; |
nothing calls this directly
no test coverage detected