File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
packages/cubejs-jdbc-driver/driver Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,34 @@ const DbTypes = {
56
56
PWD : process . env . CUBEJS_AWS_SECRET ,
57
57
S3OutputLocation : process . env . CUBEJS_AWS_S3_OUTPUT_LOCATION
58
58
}
59
+ } ,
60
+ sparksql : {
61
+ driverClass : "org.apache.hive.jdbc.HiveDriver" ,
62
+ prepareConnectionQueries : [ ] ,
63
+ mavenDependency : {
64
+ "groupId" : "org.apache.hive" ,
65
+ "artifactId" : "hive-jdbc" ,
66
+ "version" : "2.3.5"
67
+ } ,
68
+ jdbcUrl : ( ) => `jdbc:hive2://${ process . env . CUBEJS_DB_HOST } :${ process . env . CUBEJS_DB_PORT || "10000" } /${ process . env . CUBEJS_DB_NAME } ` ,
69
+ properties : {
70
+ user : process . env . CUBEJS_DB_USER ,
71
+ password : process . env . CUBEJS_DB_PASS ,
72
+ }
73
+ } ,
74
+ hive : {
75
+ driverClass : "org.apache.hive.jdbc.HiveDriver" ,
76
+ prepareConnectionQueries : [ ] ,
77
+ mavenDependency : {
78
+ "groupId" : "org.apache.hive" ,
79
+ "artifactId" : "hive-jdbc" ,
80
+ "version" : "2.3.5"
81
+ } ,
82
+ jdbcUrl : ( ) => `jdbc:hive2://${ process . env . CUBEJS_DB_HOST } :${ process . env . CUBEJS_DB_PORT || "10000" } /${ process . env . CUBEJS_DB_NAME } ` ,
83
+ properties : {
84
+ user : process . env . CUBEJS_DB_USER ,
85
+ password : process . env . CUBEJS_DB_PASS ,
86
+ }
59
87
}
60
88
} ;
61
89
You can’t perform that action at this time.
0 commit comments