Skip to content

Commit 66872a9

Browse files
committed
opt: add tests for tpc-ds
This commit adds a set of optimizer tests for the TPC-DS benchmark. Currently unsupported queries are left commented out. There is a version with stats (collected with scale factor = 10) and one without stats. Queries are grouped into sets of 10 within a `tpcs` test sub-directory. Epic: None Release note: None
1 parent 6408864 commit 66872a9

File tree

23 files changed

+84386
-12
lines changed

23 files changed

+84386
-12
lines changed

pkg/sql/opt/testutils/opttester/testfixtures/tpcds_schema

Lines changed: 560 additions & 0 deletions
Large diffs are not rendered by default.

pkg/sql/opt/testutils/opttester/testfixtures/tpcds_stats

Lines changed: 42096 additions & 0 deletions
Large diffs are not rendered by default.

pkg/sql/opt/xform/testdata/external/tpcds/q01-q10

Lines changed: 2652 additions & 0 deletions
Large diffs are not rendered by default.

pkg/sql/opt/xform/testdata/external/tpcds/q01-q10-no-stats

Lines changed: 2629 additions & 0 deletions
Large diffs are not rendered by default.

pkg/sql/opt/xform/testdata/external/tpcds/q11-q20

Lines changed: 1554 additions & 0 deletions
Large diffs are not rendered by default.

pkg/sql/opt/xform/testdata/external/tpcds/q11-q20-no-stats

Lines changed: 1486 additions & 0 deletions
Large diffs are not rendered by default.

pkg/sql/opt/xform/testdata/external/tpcds/q21-q30

Lines changed: 2218 additions & 0 deletions
Large diffs are not rendered by default.

pkg/sql/opt/xform/testdata/external/tpcds/q21-q30-no-stats

Lines changed: 2181 additions & 0 deletions
Large diffs are not rendered by default.

pkg/sql/opt/xform/testdata/external/tpcds/q31-q40

Lines changed: 2037 additions & 0 deletions
Large diffs are not rendered by default.

pkg/sql/opt/xform/testdata/external/tpcds/q31-q40-no-stats

Lines changed: 1954 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)