Skip to content

Commit

Permalink
Added a broken OLAP test
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelvelikhov committed Sep 24, 2024
1 parent daf2588 commit d87b8bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/kqp/ut/join/data/schema/tpch.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CREATE TABLE `/Root/lineitem` (

CREATE TABLE `/Root/nation` (
n_comment String ,
n_name String ,
n_name String NOT NULL,
n_nationkey Int32 NOT NULL, -- Identifier
n_regionkey Int32 , -- FK to R_REGIONKEY
PRIMARY KEY(n_nationkey)
Expand Down
4 changes: 4 additions & 0 deletions ydb/core/kqp/ut/join/kqp_join_order_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,10 @@ Y_UNIT_TEST_SUITE(KqpJoinOrder) {
ExecuteJoinOrderTestDataQueryWithStats("queries/tpch11.sql", "stats/tpch1000s.json", StreamLookupJoin, ColumnStore);
}

Y_UNIT_TEST_XOR_OR_BOTH_FALSE(TPCH20, StreamLookupJoin, ColumnStore) {
ExecuteJoinOrderTestDataQueryWithStats("queries/tpch20.sql", "stats/tpch100s_no_countmin.json", StreamLookupJoin, ColumnStore);
}

Y_UNIT_TEST_XOR_OR_BOTH_FALSE(TPCH21, StreamLookupJoin, ColumnStore) {
ExecuteJoinOrderTestDataQueryWithStats("queries/tpch21.sql", "stats/tpch1000s.json", StreamLookupJoin, ColumnStore);
}
Expand Down

0 comments on commit d87b8bf

Please sign in to comment.