BePPPower opened a new issue, #31719:
URL: https://github.com/apache/doris/issues/31719

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   Support a new catalog called `TrinoConnector`. Doris could use different 
Trino plugins to access different data source through TrinoConnector catalog.
   
   Through TrinoConnector, Doris can do:
   1. Trino's existing connector plugins can be used.
   2. The entire plugin system is relatively complete, which can scalable the 
new Java plugin like Trino. The plugin can be compiled, dynamically loaded, and 
loaded isolation.
   
   
   
   ### Use case
   
   Use TrinoConnector to access `Hive`
   ```sql
   create catalog trino_hive properties (
     "type"="trino-connector",
     "connector.name"="hive",
   
     "hive.metastore.uri"="thrift://ip:port",
     "hive.config.resources"="/path/to/core-site.xml,/path/to/hdfs-site.xml"
     );
   ```
   
   Use TrinoConnector to access `Mysql`
   ```sql
   create catalog trino_mysql properties (
     "type"="trino-connector",
     "connector.name"="mysql",
   
     "connection-url" = "jdbc:mysql://ip:port",
     "connection-user" = "user",
     "connection-password" = "password"
   );
   ```
   
   Use TrinoConnector to access `kafka`
   ```sql
   create catalog kafka properties (
     "type"="trino-connector",
     "connector.name"="kafka",
   
     "kafka.nodes"="localhost:9092",
     "kafka.table-description-supplier"="CONFLUENT",
     "kafka.confluent-schema-registry-url"="http://localhost:8081";
     );
   ```
   
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

Reply via email to