Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabre12 authored and Pratik Joseph Dabre committed Dec 16, 2024
1 parent 6bfd0f3 commit 0932870
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected void createTables()
protected QueryRunner createQueryRunner()
throws Exception
{
DistributedQueryRunner queryRunner = (DistributedQueryRunner) PrestoNativeQueryRunnerUtils.createQueryRunner(false, true);
DistributedQueryRunner queryRunner = (DistributedQueryRunner) PrestoNativeQueryRunnerUtils.createQueryRunner(true, true);
setupNativeSidecarPlugin(queryRunner);
return queryRunner;
}
Expand Down Expand Up @@ -115,7 +115,6 @@ public void testShowFunctions()
@Language("SQL") String sql = "SHOW FUNCTIONS";
MaterializedResult actualResult = computeActual(sql);
List<MaterializedRow> actualRows = actualResult.getMaterializedRows();
assertEquals(actualRows.size(), FUNCTION_COUNT);
for (MaterializedRow actualRow : actualRows) {
List<Object> row = actualRow.getFields();
// No namespace should be present on the functionNames
Expand All @@ -131,6 +130,7 @@ public void testShowFunctions()
}
fail(format("No namespace match found for row: %s", row));
}
assertEquals(actualRows.size(), FUNCTION_COUNT);
}

@Test
Expand Down

0 comments on commit 0932870

Please sign in to comment.