yujun777 commented on code in PR #65472:
URL: https://github.com/apache/doris/pull/65472#discussion_r3629081154
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalOlapTableStreamScan.java:
##########
@@ -464,6 +465,24 @@ public LogicalOlapTableStreamScan
withReadMode(StreamReadMode readMode) {
scanParams, readMode));
}
+ @Override
+ protected boolean hasSameTableIdentity(LogicalCatalogRelation other) {
+ LogicalOlapTableStreamScan that = (LogicalOlapTableStreamScan) other;
Review Comment:
Added `Utils.isSameClass(Object, Object)` and updated the scan
semantic/state comparison methods to check for non-null exact class equality
before casting. This includes
`LogicalOlapTableStreamScan.hasSameTableIdentity()` and `hasSameScanState()`,
as well as the other scan implementations changed in this PR.
--
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]