apache / seatunnel

SeaTunnel is a next-generation super high-performance, distributed, massive data integration tool.
https://seatunnel.apache.org/
Apache License 2.0
7.78k stars 1.74k forks source link

[Feature][Connector-V2][JDBC] Add presto connector and testing #6399

Open sanjaychitransh opened 6 months ago

sanjaychitransh commented 6 months ago

Search before asking

Description

Hi ,we take the source code for presto #3774 and prepare the build of sea tunnel .but we are getting while testing .the ErrorDescription:[Configuration item validate failed

error Caused by: org.apache.seatunnel.api.common.PrepareFailException: ErrorCode:[API-01], ErrorDescription:[Configuration item validate failed] - PluginName: jdbc, PluginType: source, Message: java.lang.ClassNotFoundException: io.prestosql.jdbc.PrestoDriver at org.apache.seatunnel.connectors.seatunnel.jdbc.source.JdbcSource.prepare(JdbcSource.java:88)

here is my configuration file

Defining the runtime environment

env {

You can set flink configuration here

execution.parallelism = 1 job.mode = "BATCH" }

source {

This is a example source plugin only for test and demonstrate the feature source plugin

jdbc { url = "jdbc:presto://reactor1.xxx.xxx.com:8443/mysql/seasink?SSL=true&SSLTrustStorePath=/opt/cert/keystore.jks&SSLTrustStorePassword=123456#" driver = "io.prestosql.jdbc.PrestoDriver" user = "padmin" password = "Adm1n##"

tls_verify_certificate= "true"

            #tls_truststore_path= "/opt/cert/keystore.jks"
            #tls_truststore_password= "123456#"
    query = "Select id, name from mysql.seasink.pet2"
    }

If you would like to get more information about how to configure seatunnel and see full list of source plugins,

please go to https://seatunnel.apache.org/docs/category/source-v2

}

transform {

If you would like to get more information about how to configure seatunnel and see full list of transform plugins,

# please go to https://seatunnel.apache.org/docs/category/transform-v2

}

sink { Console {

           }

If you would like to get more information about how to configure seatunnel and see full list of sink plugins,

please go to https://seatunnel.apache.org/docs/category/sink-v2

}

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

Code of Conduct

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.