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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: ClickHouse JDBC V2 exposes databases as schemas and reports 
distributed tables as `REMOTE TABLE`. Doris inferred the database metadata mode 
from the legacy `databaseterm` URL parameter and filtered the vendor table 
type, so V2 catalogs could not discover databases or distributed tables. This 
change uses JDBC metadata capabilities to select catalog/schema mode and 
includes remote tables in discovery in both JDBC client implementations.
   
   ### Release note
   
   Support ClickHouse JDBC V2 schema metadata and distributed table discovery.
   
   ### Check List (For Author)
   
   - Test: Regression test and Unit Test
       - `JdbcClickHouseClientTest`
       - `JdbcClickHouseConnectorClientTest`
       - `test_clickhouse_jdbc_v2`
   - Behavior changed: Yes. ClickHouse JDBC V2 catalogs now use schema metadata 
and expose distributed tables.
   - Does this need documentation: No
   


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