From 556b9897d0c404e037239b810d717ab73f989b82 Mon Sep 17 00:00:00 2001 From: Juan Madurga Date: Wed, 21 Feb 2024 09:29:17 +0100 Subject: [PATCH] update FunctionULIDStringToDateTime for short circuit --- src/Functions/FunctionsCodingULID.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functions/FunctionsCodingULID.cpp b/src/Functions/FunctionsCodingULID.cpp index 1d426ee464a..ff040945a15 100644 --- a/src/Functions/FunctionsCodingULID.cpp +++ b/src/Functions/FunctionsCodingULID.cpp @@ -45,7 +45,7 @@ public: bool isVariadic() const override { return true; } size_t getNumberOfArguments() const override { return 0; } - bool isSuitableForShortCircuitArgumentsExecution(const DataTypesWithConstInfo & /*arguments*/) const override { return false; } + bool isSuitableForShortCircuitArgumentsExecution(const DataTypesWithConstInfo & /*arguments*/) const override { return true; } DataTypePtr getReturnTypeImpl(const ColumnsWithTypeAndName & arguments) const override {