platoneko commented on code in PR #33387:
URL: https://github.com/apache/doris/pull/33387#discussion_r1558733652
##########
be/src/olap/schema_change.cpp:
##########
@@ -1296,6 +1296,17 @@ Status SchemaChangeJob::parse_request(const
SchemaChangeParams& sc_params,
if (column_mapping->expr != nullptr) {
*sc_directly = true;
return Status::OK();
+ } else if (column_mapping->ref_column >= 0) {
+ auto column_new = new_tablet_schema->column(i);
Review Comment:
```suggestion
const auto& column_new = new_tablet_schema->column(i);
```
--
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]