I cloned your example and it is also cannot be compiled <http://apache-spark-user-list.1001560.n3.nabble.com/file/t10977/Screenshot_2020-10-28_182213.png>
[ERROR] C:\Users\Rafael_Kyrdan\projects\spark-jdbc-connection-provider\src\main\scala\com\spark\ExampleJdbcConnectionProvider.scala:23: error: object JdbcConnectionProvider is not a member of package org.apache.spark.sql.jdbc [ERROR] import org.apache.spark.sql.jdbc.JdbcConnectionProvider [ERROR] ^ [ERROR] C:\Users\Rafael_Kyrdan\projects\spark-jdbc-connection-provider\src\main\scala\com\spark\ExampleJdbcConnectionProvider.scala:25: error: not found: type JdbcConnectionProvider [ERROR] class ExampleJdbcConnectionProvider extends JdbcConnectionProvider with Logging { [ERROR] ^ [ERROR] two errors found [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 37.339 s [INFO] Finished at: 2020-10-28T18:21:08+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.3.2:compile (default) on project spark-jdbc-connection-provider: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException C:\Users\Rafael_Kyrdan\projects\spark-jdbc-connection-provider> Could you highlight what am I missing? How the custom connection provider could be used properly? -- Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/ --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org