seawinde opened a new pull request, #34768: URL: https://github.com/apache/doris/pull/34768
## Proposed changes Table id may be the same but actually they are different tables. so we optimize the `org.apache.doris.nereids.rules.exploration.mv.mapping.RelationMapping#getTableQualifier` with following code: `Objects.hash(table.getDatabase().getCatalog().getId(), table.getDatabase().getId(), table.getId())` table id is long, we identify the table used in mv rewrite is bitSet. the bitSet can only use int, so we mapping the long id to init id in every query when mv rewrite ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org