github-actions[bot] commented on code in PR #28496:
URL: https://github.com/apache/doris/pull/28496#discussion_r1427895559
##########
be/src/vec/core/decimal_comparison.h:
##########
@@ -217,6 +215,7 @@ class DecimalComparison {
LOG(FATAL) << "Wrong column in Decimal comparison";
}
} else if (c1_is_const) {
+ const ColumnConst* c1_const = static_cast<const
ColumnConst*>(c1.get());
Review Comment:
warning: use auto when initializing with a cast to avoid duplicating the
type name [modernize-use-auto]
```suggestion
const auto* c1_const = static_cast<const
ColumnConst*>(c1.get());
```
--
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]