Skip to content

Conversation

@seawinde
Copy link
Contributor

@seawinde seawinde commented Aug 9, 2024

Proposed changes

commitId: 08c9e05
pr: #38909

…le (apache#38909)

mv def is 

            select l_orderkey, l_partkey, o_custkey, l_shipdate, o_orderdate 
            from ${hive_catalog_name}.${hive_database}.${hive_table} 
            left join ${internal_catalog}.${olap_db}.${olap_table} on l_orderkey = o_orderkey 

if we query the sql as following, it will rewrite fail by mv, the fail
info is `mv can not offer any partition for query`

            select l_orderkey, l_partkey, o_custkey, l_shipdate, o_orderdate 
            from ${hive_catalog_name}.${hive_database}.${hive_table} 
            left join ${internal_catalog}.${olap_db}.${olap_table} on l_orderkey = o_orderkey 

This pr fix this problem. it would be rewritten by mv successfully.
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@seawinde
Copy link
Contributor Author

seawinde commented Aug 9, 2024

run buildall

@yiguolei yiguolei merged commit 878ce29 into apache:branch-2.1 Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants