HappenLee commented on code in PR #42055: URL: https://github.com/apache/doris/pull/42055#discussion_r1809725337
########## be/src/vec/functions/function_string.h: ########## @@ -2369,6 +2369,124 @@ class FunctionSplitByString : public IFunction { } }; +class FunctionCountSubString : public IFunction { +public: + static constexpr auto name = "count_substrings"; + + static FunctionPtr create() { return std::make_shared<FunctionCountSubString>(); } + using NullMapType = PaddedPODArray<UInt8>; + + String get_name() const override { return name; } + + bool is_variadic() const override { return false; } Review Comment: unless code delete -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org