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


##########
be/src/http/action/show_nested_index_file_action.h:
##########
@@ -0,0 +1,46 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+#pragma once
+
+#include <stdint.h>

Review Comment:
   warning: inclusion of deprecated C++ header 'stdint.h'; consider using 
'cstdint' instead [modernize-deprecated-headers]
   
   ```suggestion
   #include <cstdint>
   ```
   



##########
be/src/olap/rowset/beta_rowset.cpp:
##########
@@ -702,4 +703,129 @@ Status BetaRowset::calc_local_file_crc(uint32_t* 
crc_value, int64_t* file_count)
     return Status::OK();
 }
 
+Status BetaRowset::show_nested_index_file(rapidjson::Value* rowset_value,

Review Comment:
   warning: function 'show_nested_index_file' exceeds recommended 
size/complexity thresholds [readability-function-size]
   ```cpp
   Status BetaRowset::show_nested_index_file(rapidjson::Value* rowset_value,
                      ^
   ```
   <details>
   <summary>Additional context</summary>
   
   **be/src/olap/rowset/beta_rowset.cpp:705:** 122 lines including whitespace 
and comments (threshold 80)
   ```cpp
   Status BetaRowset::show_nested_index_file(rapidjson::Value* rowset_value,
                      ^
   ```
   
   </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