Jibing-Li opened a new pull request, #22116:
URL: https://github.com/apache/doris/pull/22116

   While creating LogicalOlapScan, the qualifier only includes database name 
(without catalog name). This will cause getDatabase function in 
LogicalCatalogRelation fail to find the correct database, because without 
catalog name, it only search current catalog. This will cause an error because 
current catalog may be an external catalog, and Olap database only exist in 
internal catalog.
   This pr pass the whole qualifier to LogicalOlapScan, including catalog name, 
db name and table name.
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) 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: [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]

Reply via email to