File tree Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ dependencies {
66
66
api ' org.postgresql:postgresql:42.7.4'
67
67
api ' org.xerial:sqlite-jdbc:3.47.0.0'
68
68
api ' org.duckdb:duckdb_jdbc:0.10.2'
69
+ api(' com.databricks:databricks-jdbc:2.7.1' ) // { exclude group: 'commons-logging' }
69
70
70
71
71
72
// JDBC driver setup for AWS Athena - the 3rd party JAR are being downloaded and setup as gradle tasks below.
Original file line number Diff line number Diff line change @@ -31,5 +31,6 @@ class SqlPlugin extends BasePlugin {
31
31
32
32
SqlPlugin (PluginWrapper wrapper ) {
33
33
super (wrapper)
34
+ System . setProperty(" com.databricks.jdbc.loggerImpl" ," SLF4JLOGGER" )
34
35
}
35
36
}
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ class DriverRegistry {
25
25
drivers. ' postgresql' = ' org.postgresql.Driver'
26
26
drivers. ' duckdb' = ' org.duckdb.DuckDBDriver'
27
27
drivers. ' awsathena' = ' com.simba.athena.jdbc.Driver'
28
+ drivers. ' databricks' = ' com.databricks.client.jdbc.Driver'
28
29
}
29
30
30
31
void addDriver (String name , String driver ){
Original file line number Diff line number Diff line change @@ -23,4 +23,4 @@ plugins {
23
23
rootProject. name = ' nf-sqldb'
24
24
include ' plugins'
25
25
include(' plugins:nf-sqldb' )
26
-
26
+ includeBuild( ' ../nextflow ' )
You can’t perform that action at this time.
0 commit comments