File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
src/test/java/com/databricks/jdbc/integration/benchmarking Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments