seawinde opened a new pull request, #39041: URL: https://github.com/apache/doris/pull/39041
## Proposed changes this is brought by https://github.com/apache/doris/pull/34185 if query external table without group by, rewrite by materialized view will fail such as mv def is ```sql select o_custkey, o_orderdate from ${hive_catalog_name}.${hive_database}.${hive_table}; ``` query is query external table directly as following, this would fail when try to rewrte by materialized view ```sql select o_custkey from ${hive_catalog_name}.${hive_database}.${hive_table}; ``` this pr fix the problem. -- 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