Skip to content

Commit

Permalink
Fix inspection checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat-Jain committed Oct 18, 2024
1 parent 97a9b3a commit 5019c9f
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void tearDown() throws Exception
}

@Benchmark
public void windowWithoutGroupBy(Blackhole blackhole) throws NoSuchMethodException
public void windowWithoutGroupBy(Blackhole blackhole)
{
String sql = "SELECT ROW_NUMBER() "
+ "OVER (PARTITION BY dimUniform ORDER BY dimSequential) "
Expand All @@ -110,7 +110,7 @@ public void windowWithoutGroupBy(Blackhole blackhole) throws NoSuchMethodExcepti
}

@Benchmark
public void windowWithoutSorting(Blackhole blackhole) throws NoSuchMethodException
public void windowWithoutSorting(Blackhole blackhole)
{
String sql = "SELECT dimZipf, dimSequential,"
+ "ROW_NUMBER() "
Expand All @@ -121,7 +121,7 @@ public void windowWithoutSorting(Blackhole blackhole) throws NoSuchMethodExcepti
}

@Benchmark
public void windowWithSorting(Blackhole blackhole) throws NoSuchMethodException
public void windowWithSorting(Blackhole blackhole)
{
String sql = "SELECT dimZipf, dimSequential,"
+ "ROW_NUMBER() "
Expand All @@ -132,7 +132,7 @@ public void windowWithSorting(Blackhole blackhole) throws NoSuchMethodException
}

@Benchmark
public void windowWithHighCardinalityPartitionBy(Blackhole blackhole) throws NoSuchMethodException
public void windowWithHighCardinalityPartitionBy(Blackhole blackhole)
{
String sql = "select\n"
+ "__time,\n"
Expand All @@ -143,7 +143,7 @@ public void windowWithHighCardinalityPartitionBy(Blackhole blackhole) throws NoS
}

@Benchmark
public void windowWithLowCardinalityPartitionBy(Blackhole blackhole) throws NoSuchMethodException
public void windowWithLowCardinalityPartitionBy(Blackhole blackhole)
{
String sql = "select\n"
+ "dimZipf,\n"
Expand All @@ -154,7 +154,7 @@ public void windowWithLowCardinalityPartitionBy(Blackhole blackhole) throws NoSu
}

@Benchmark
public void multipleWindows(Blackhole blackhole) throws NoSuchMethodException
public void multipleWindows(Blackhole blackhole)
{
String sql = "select\n"
+ "dimZipf, dimSequential, minFloatZipf,\n"
Expand All @@ -171,7 +171,7 @@ public void multipleWindows(Blackhole blackhole) throws NoSuchMethodException
querySql(sql, blackhole);
}

public void querySql(String sql, Blackhole blackhole) throws NoSuchMethodException
public void querySql(String sql, Blackhole blackhole)
{
final Map<String, Object> context = ImmutableMap.of(
MultiStageQueryContext.CTX_MAX_NUM_TASKS, maxNumTasks
Expand Down

0 comments on commit 5019c9f

Please sign in to comment.