From bfcaf95aed8b6f88a02c19c384db9a11a875961d Mon Sep 17 00:00:00 2001 From: Kruglov Pavel <48961922+Avogar@users.noreply.github.com> Date: Mon, 15 May 2023 18:32:54 +0200 Subject: [PATCH] Delete unneded files --- .../FunctionGenerateRandomStructure.h | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/Functions/FunctionGenerateRandomStructure.h diff --git a/src/Functions/FunctionGenerateRandomStructure.h b/src/Functions/FunctionGenerateRandomStructure.h deleted file mode 100644 index 1d1bcb1a0a8..00000000000 --- a/src/Functions/FunctionGenerateRandomStructure.h +++ /dev/null @@ -1,45 +0,0 @@ -#include -#include - -#include - -namespace DB -{ - -class FunctionGenerateRandomStructure : public IFunction -{ -public: - static constexpr auto name = "generateRandomStructure"; - - explicit FunctionGenerateRandomStructure(bool allow_suspicious_lc_types_) : allow_suspicious_lc_types(allow_suspicious_lc_types_) - { - } - - static FunctionPtr create(ContextPtr context) - { - return std::make_shared(context->getSettingsRef().allow_suspicious_low_cardinality_types.value); - } - - String getName() const override { return name; } - - size_t getNumberOfArguments() const override { return 0; } - - bool isVariadic() const override { return true; } - bool isDeterministic() const override { return false; } - bool isDeterministicInScopeOfQuery() const override { return false; } - bool isSuitableForShortCircuitArgumentsExecution(const DataTypesWithConstInfo & /*arguments*/) const override { return false; } - ColumnNumbers getArgumentsThatAreAlwaysConstant() const override { return {0, 1}; } - bool useDefaultImplementationForConstants() const override { return false; } - bool useDefaultImplementationForNulls() const override { return false; } - - DataTypePtr getReturnTypeImpl(const DataTypes & arguments) const override; - - ColumnPtr executeImpl(const ColumnsWithTypeAndName & arguments, const DataTypePtr &, size_t input_rows_count) const override; - - static String generateRandomStructure(size_t seed, const ContextPtr & context); - -private: - bool allow_suspicious_lc_types; -}; - -}