Skip to content

Commit 1b9be61

Browse files
committed
formatting
1 parent 729efc8 commit 1b9be61

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/test/java/com/databricks/jdbc/integration/benchmarking/LargeQueriesBenchmarkingTest.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,17 @@ void measureLargeQueriesPerformance(int recording) {
108108
i * 1000000 + random.nextInt(1000000); // Randomization to avoid possible query caching
109109
try (Statement statement = connection.createStatement()) {
110110
long startTime = System.currentTimeMillis();
111-
ResultSet rs = statement.executeQuery(
112-
"SELECT * FROM "
113-
+ SCHEMA_NAME
114-
+ "."
115-
+ TABLE_NAME
116-
+ " LIMIT "
117-
+ ROWS
118-
+ " OFFSET "
119-
+ offset);
120-
while(rs.next()) {}
111+
ResultSet rs =
112+
statement.executeQuery(
113+
"SELECT * FROM "
114+
+ SCHEMA_NAME
115+
+ "."
116+
+ TABLE_NAME
117+
+ " LIMIT "
118+
+ ROWS
119+
+ " OFFSET "
120+
+ offset);
121+
while (rs.next()) {}
121122
long endTime = System.currentTimeMillis();
122123
if (recording == 1) {
123124
timesForOSSDriver[i] = endTime - startTime;

0 commit comments

Comments
 (0)