Skip to content

Commit

Permalink
Add TPC plan verification tests for iceberg
Browse files Browse the repository at this point in the history
These tests are useful for figuring out the potential impact of
planner changes on TPC benchmarks. They are useful for assessing
different approches in optimizer rules during the development phase.
These also help with assessing metadata accesses and planner bottlenecks
for complex queries.
These also provide test coverage for a variety of query plans that
are not necessarily covered by existing unit tests.
  • Loading branch information
raunaqmorarka committed Sep 19, 2024
1 parent ed27147 commit 9ec9331
Show file tree
Hide file tree
Showing 224 changed files with 20,047 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ public void stop()
container.stop();
}

public String getContainerId()
{
return container.getContainerId();
}

public String executeInContainerFailOnError(String... commandAndArgs)
{
Container.ExecResult execResult = executeInContainer(commandAndArgs);
Expand Down
55 changes: 55 additions & 0 deletions testing/trino-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-benchmark-queries</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-blackhole</artifactId>
Expand All @@ -170,6 +176,31 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-hdfs</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-hive</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-hive</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-iceberg</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-main</artifactId>
Expand All @@ -196,6 +227,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-metastore</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino</groupId>
<artifactId>trino-plugin-toolkit</artifactId>
Expand Down Expand Up @@ -264,6 +301,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino.tpcds</groupId>
<artifactId>tpcds</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.trino.tpch</groupId>
<artifactId>tpch</artifactId>
Expand All @@ -276,6 +319,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.iceberg</groupId>
<artifactId>iceberg-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
Expand All @@ -300,6 +349,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
Expand Down
Loading

0 comments on commit 9ec9331

Please sign in to comment.