github-actions[bot] commented on code in PR #34258:
URL: https://github.com/apache/doris/pull/34258#discussion_r1590328792


##########
be/src/vec/functions/function_string.h:
##########
@@ -356,6 +357,174 @@ class FunctionStrcmp : public IFunction {
     }
 };
 
+class FunctionAutoPartitionName : public IFunction {
+public:
+    static constexpr auto name = "auto_partition_name";
+    static FunctionPtr create() { return 
std::make_shared<FunctionAutoPartitionName>(); }
+    String get_name() const override { return name; }
+    size_t get_number_of_arguments() const override { return 0; }
+    bool is_variadic() const override { return true; }
+
+    DataTypePtr get_return_type_impl(const DataTypes& arguments) const 
override {
+        return std::make_shared<DataTypeString>();
+    }
+
+    Status execute_impl(FunctionContext* context, Block& block, const 
ColumnNumbers& arguments,

Review Comment:
   warning: function 'execute_impl' exceeds recommended size/complexity 
thresholds [readability-function-size]
   ```cpp
       Status execute_impl(FunctionContext* context, Block& block, const 
ColumnNumbers& arguments,
              ^
   ```
   <details>
   <summary>Additional context</summary>
   
   **be/src/vec/functions/function_string.h:371:** 113 lines including 
whitespace and comments (threshold 80)
   ```cpp
       Status execute_impl(FunctionContext* context, Block& block, const 
ColumnNumbers& arguments,
              ^
   ```
   
   </details>
   



-- 
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

Reply via email to