github-actions[bot] commented on code in PR #39558:
URL: https://github.com/apache/doris/pull/39558#discussion_r1728686030
##########
be/src/cloud/cloud_schema_change_job.cpp:
##########
@@ -176,10 +217,11 @@ Status CloudSchemaChangeJob::process_alter_tablet(const
TAlterTabletReqV2& reque
std::make_pair(to_lower(item.column_name), mv_param));
}
sc_params.enable_unique_key_merge_on_write =
_new_tablet->enable_unique_key_merge_on_write();
- return _convert_historical_rowsets(sc_params);
+ return _convert_historical_rowsets(sc_params, job);
}
-Status CloudSchemaChangeJob::_convert_historical_rowsets(const
SchemaChangeParams& sc_params) {
+Status CloudSchemaChangeJob::_convert_historical_rowsets(const
SchemaChangeParams& sc_params,
Review Comment:
warning: function '_convert_historical_rowsets' exceeds recommended
size/complexity thresholds [readability-function-size]
```cpp
Status CloudSchemaChangeJob::_convert_historical_rowsets(const
SchemaChangeParams& sc_params,
^
```
<details>
<summary>Additional context</summary>
**be/src/cloud/cloud_schema_change_job.cpp:222:** 177 lines including
whitespace and comments (threshold 80)
```cpp
Status CloudSchemaChangeJob::_convert_historical_rowsets(const
SchemaChangeParams& sc_params,
^
```
</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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]