suxiaogang223 opened a new pull request, #62806:
URL: https://github.com/apache/doris/pull/62806

   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #59502
   
   Problem Summary:
   
   Doris initialized Iceberg JDBC Catalog with the Doris local catalog name. 
Iceberg JDBC Catalog uses the SDK catalog initialization name as the 
`catalog_name` isolation key in JDBC metadata tables, so a Doris catalog named 
differently from the writer catalog, such as Spark `spark_catalog`, could not 
list namespaces or tables written under that remote `catalog_name`.
   
   This PR adds required `iceberg.jdbc.catalog_name` for Iceberg JDBC catalog 
and uses it as the Iceberg SDK catalog initialization name. The Doris local 
catalog name remains independent and continues to be used for Doris 
namespace/table identifier semantics.
   
   ### Release note
   
   Add required `iceberg.jdbc.catalog_name` for Iceberg JDBC catalog to specify 
the remote Iceberg JDBC metadata `catalog_name`.
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [x] Unit Test
           - `./run-fe-ut.sh --run 
org.apache.doris.datasource.property.metastore.IcebergJdbcMetaStorePropertiesTest`
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [x] Yes. Iceberg JDBC catalog now requires 
`iceberg.jdbc.catalog_name`, and Doris uses it as the Iceberg JDBC metadata 
catalog isolation name instead of reusing the Doris local catalog name.
   
   - Does this need documentation?
       - [ ] No.
       - [x] Yes. Follow-up Doris website documentation should describe the new 
required Iceberg JDBC catalog property.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->


-- 
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