morningman commented on a change in pull request #3036: Support different keys
type between mv and base table
URL: https://github.com/apache/incubator-doris/pull/3036#discussion_r387695139
##########
File path:
fe/src/main/java/org/apache/doris/planner/MaterializedViewSelector.java
##########
@@ -115,14 +116,14 @@ public BestIndexInfo selectBestMV(ScanNode scanNode)
throws UserException {
private Map<Long, List<Column>> predicates(OlapScanNode scanNode) {
// Step1: all of predicates is compensating predicates
- Map<Long, List<Column>> candidateIndexIdToSchema =
scanNode.getOlapTable().getVisibleIndexIdToSchema();
+ Map<Long, MaterializedIndexMeta> candidateIndexIdToSchema =
scanNode.getOlapTable().getVisibleIndexIdToSchema();
Review comment:
```suggestion
Map<Long, MaterializedIndexMeta> candidateIndexIdToMeta =
scanNode.getOlapTable().getVisibleIndexIdToSchema();
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]