@@ -107,7 +107,9 @@ public void testValidAllDataTypesSerializationFromSelectQueryArrowDataset() thro
107107 String selectQuery = "select * from " + DATASET + "." + TABLE_NAME + " LIMIT 5000;" ;
108108 String connection_uri =
109109 ITBigQueryJDBCTest .connection_uri
110- + "EnableHighThroughputAPI=1;HighThroughputActivationRatio=2;HighThroughputMinTableSize=1000;" ;
110+ + "EnableHighThroughputAPI=1;"
111+ + "HighThroughputActivationRatio=2;"
112+ + "HighThroughputMinTableSize=1000;" ;
111113
112114 // Read data via JDBC
113115 Connection connection = DriverManager .getConnection (connection_uri );
@@ -234,8 +236,10 @@ public void testReadAPIPathLarge() throws SQLException {
234236 public void testReadAPIPathLargeWithThresholdParameters () throws SQLException {
235237 String connectionUri =
236238 ITBigQueryJDBCTest .connection_uri
237- + "MaxResults=300;HighThroughputActivationRatio=2;"
238- + "HighThroughputMinTableSize=100;EnableHighThroughputAPI=1" ;
239+ + "MaxResults=300;"
240+ + "HighThroughputActivationRatio=2;"
241+ + "HighThroughputMinTableSize=100;"
242+ + "EnableHighThroughputAPI=1" ;
239243 Connection connection = DriverManager .getConnection (connectionUri );
240244 Statement statement = connection .createStatement ();
241245 int expectedCnt = 1000 ;
@@ -251,7 +255,8 @@ public void testReadAPIPathLargeWithThresholdNotMet() throws SQLException {
251255 String connectionUri =
252256 ITBigQueryJDBCTest .connection_uri
253257 + "HighThroughputActivationRatio=4;"
254- + "HighThroughputMinTableSize=100;EnableHighThroughputAPI=1" ;
258+ + "HighThroughputMinTableSize=100;"
259+ + "EnableHighThroughputAPI=1" ;
255260 Connection connection = DriverManager .getConnection (connectionUri );
256261 Statement statement = connection .createStatement ();
257262 int expectedCnt = 5000 ;
@@ -1261,7 +1266,12 @@ public void testUnsupportedHTAPIFallbacksToStandardQueriesWithRange() throws SQL
12611266 String selectQuery = "select * from `DATATYPERANGETEST.RangeIntervalTestTable` LIMIT 5000;" ;
12621267 String connection_uri =
12631268 ITBigQueryJDBCTest .connection_uri
1264- + "MaxResults=500;HighThroughputActivationRatio=1;HighThroughputMinTableSize=100;EnableHighThroughputAPI=1;UnsupportedHTAPIFallback=1;JobCreationMode=1;" ;
1269+ + "MaxResults=500;"
1270+ + "HighThroughputActivationRatio=1;"
1271+ + "HighThroughputMinTableSize=100;"
1272+ + "EnableHighThroughputAPI=1;"
1273+ + "UnsupportedHTAPIFallback=1;"
1274+ + "JobCreationMode=1;" ;
12651275
12661276 // Read data via JDBC
12671277 Connection connection = DriverManager .getConnection (connection_uri );
@@ -1281,7 +1291,11 @@ public void testIntervalDataTypeWithArrowResultSet() throws SQLException {
12811291 "select * from `DATATYPERANGETEST.RangeIntervalTestTable` order by intColumn limit 5000;" ;
12821292 String connection_uri =
12831293 ITBigQueryJDBCTest .connection_uri
1284- + "MaxResults=500;HighThroughputActivationRatio=0;HighThroughputMinTableSize=100;EnableHighThroughputAPI=1;JobCreationMode=1;" ;
1294+ + "MaxResults=500;"
1295+ + "HighThroughputActivationRatio=0;"
1296+ + "HighThroughputMinTableSize=100;"
1297+ + "EnableHighThroughputAPI=1;"
1298+ + "JobCreationMode=1;" ;
12851299
12861300 // Read data via JDBC
12871301 Connection connection = DriverManager .getConnection (connection_uri );
@@ -1302,7 +1316,11 @@ public void testIntervalDataTypeWithJsonResultSet() throws SQLException {
13021316 "select * from `DATATYPERANGETEST.RangeIntervalTestTable` order by intColumn limit 10 ;" ;
13031317 String connection_uri =
13041318 ITBigQueryJDBCTest .connection_uri
1305- + "MaxResults=500;HighThroughputActivationRatio=1;HighThroughputMinTableSize=100;EnableHighThroughputAPI=0;JobCreationMode=1;" ;
1319+ + "MaxResults=500;"
1320+ + "HighThroughputActivationRatio=1;"
1321+ + "HighThroughputMinTableSize=100;"
1322+ + "EnableHighThroughputAPI=0;"
1323+ + "JobCreationMode=1;" ;
13061324
13071325 // Read data via JDBC
13081326 Connection connection = DriverManager .getConnection (connection_uri );
@@ -1678,7 +1696,7 @@ public void testNonEnabledUseLegacySQLThrowsSyntaxError() throws SQLException {
16781696 public void testUseLegacySQLWithLargeResultsNotAllowedQueries () throws SQLException {
16791697 // setup
16801698 String connection_uri =
1681- ITBigQueryJDBCTest .connection_uri + "QueryDialect=BIG_QUERY;AllowLargeResults=0;" ;
1699+ ITBigQueryJDBCTest .connection_uri + "QueryDialect=BIG_QUERY;" + " AllowLargeResults=0;" ;
16821700 String selectLegacyQuery =
16831701 "SELECT * FROM [bigquery-public-data.deepmind_alphafold.metadata] LIMIT 250000;" ;
16841702 Connection connection = DriverManager .getConnection (connection_uri , new Properties ());
@@ -1756,7 +1774,7 @@ public void testUseLegacySQLWithLargeResultsAllowedWithNoDestinationTableDefault
17561774 throws SQLException {
17571775 // setup
17581776 String connection_uri =
1759- ITBigQueryJDBCTest .connection_uri + "QueryDialect=BIG_QUERY;AllowLargeResults=1;" ;
1777+ ITBigQueryJDBCTest .connection_uri + "QueryDialect=BIG_QUERY;" + " AllowLargeResults=1;" ;
17601778 String selectLegacyQuery =
17611779 "SELECT * FROM [bigquery-public-data.deepmind_alphafold.metadata] LIMIT 250000;" ;
17621780 Connection connection = DriverManager .getConnection (connection_uri , new Properties ());
@@ -1908,7 +1926,11 @@ public void testRangeDataTypeWithArrowResultSet() throws SQLException {
19081926
19091927 String connection_uri =
19101928 ITBigQueryJDBCTest .connection_uri
1911- + "MaxResults=500;HighThroughputActivationRatio=0;HighThroughputMinTableSize=100;EnableHighThroughputAPI=1;JobCreationMode=1;" ;
1929+ + "MaxResults=500;"
1930+ + "HighThroughputActivationRatio=0;"
1931+ + "HighThroughputMinTableSize=100;"
1932+ + "EnableHighThroughputAPI=1;"
1933+ + "JobCreationMode=1;" ;
19121934
19131935 // Read data via JDBC
19141936 Connection connection = DriverManager .getConnection (connection_uri );
0 commit comments