@@ -72,11 +72,6 @@ public static String getDatabricksDogfoodHost() {
7272 return System .getenv ("DATABRICKS_DOGFOOD_HOST" );
7373 }
7474
75- public static String getDatabricksBenchmarkingHost () {
76- // includes port
77- return System .getenv ("DATABRICKS_BENCHMARKING_HOST" );
78- }
79-
8075 public static String getDatabricksToken () {
8176 return System .getenv ("DATABRICKS_TOKEN" );
8277 }
@@ -89,10 +84,6 @@ public static String getDatabricksBenchfoodToken() {
8984 return System .getenv ("DATABRICKS_BENCHFOOD_TOKEN" );
9085 }
9186
92- public static String getDatabricksBenchmarkingToken () {
93- return System .getenv ("DATABRICKS_BENCHMARKING_TOKEN" );
94- }
95-
9687 public static String getDatabricksHTTPPath () {
9788 return System .getenv ("DATABRICKS_HTTP_PATH" );
9889 }
@@ -105,10 +96,6 @@ public static String getDatabricksDogfoodHTTPPath() {
10596 return System .getenv ("DATABRICKS_DOGFOOD_HTTP_PATH" );
10697 }
10798
108- public static String getDatabricksBenchmarkingHTTPPath () {
109- return System .getenv ("DATABRICKS_BENCHMARKING_HTTP_PATH" );
110- }
111-
11299 public static String getDatabricksCatalog () {
113100 return isFakeServiceTest
114101 ? FakeServiceConfigLoader .getProperty (TEST_CATALOG )
@@ -172,11 +159,6 @@ public static Connection getBenchfoodJDBCConnection() throws SQLException {
172159 getBenchfoodJDBCUrl (), getDatabricksUser (), getDatabricksBenchfoodToken ());
173160 }
174161
175- public static Connection getBenchmarkingJDBCConnection () throws SQLException {
176- return DriverManager .getConnection (
177- getBenchmarkingJDBCUrl (), getDatabricksUser (), getDatabricksBenchmarkingToken ());
178- }
179-
180162 public static void resetJDBCConnection () {
181163 JDBCConnection = null ;
182164 }
@@ -224,15 +206,6 @@ public static String getDogfoodJDBCUrl() {
224206 return String .format (template , host , httpPath );
225207 }
226208
227- public static String getBenchmarkingJDBCUrl () {
228- String template =
229- "jdbc:databricks://%s/default;transportMode=http;ssl=1;AuthMech=3;httpPath=%s" ;
230- String host = getDatabricksBenchmarkingHost ();
231- String httpPath = getDatabricksBenchmarkingHTTPPath ();
232-
233- return String .format (template , host , httpPath );
234- }
235-
236209 public static boolean executeSQL (String sql ) {
237210 try {
238211 if (JDBCConnection == null ) JDBCConnection = getValidJDBCConnection ();
0 commit comments