Skip to content

Commit 95a6a22

Browse files
skyzhyliang412
andauthored
feat(p3): add more tests (#444)
Co-Authored-By: Yuchen Liang <[email protected]> Signed-off-by: Alex Chi <[email protected]>
1 parent 05c3438 commit 95a6a22

File tree

8 files changed

+1779
-71
lines changed

8 files changed

+1779
-71
lines changed

src/catalog/table_generator.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,12 @@ void TableGenerator::GenerateTestTables() {
108108
{"colC", TypeId::INTEGER, false, Dist::Uniform, 0, 9999},
109109
{"colD", TypeId::INTEGER, false, Dist::Uniform, 0, 99999}}},
110110

111-
// // Table 2
112-
// {"test_2",
113-
// TEST2_SIZE,
114-
// {{"col1", TypeId::SMALLINT, false, Dist::Serial, 0, 0},
115-
// {"col2", TypeId::INTEGER, true, Dist::Uniform, 0, 9},
116-
// {"col3", TypeId::BIGINT, false, Dist::Uniform, 0, 1024},
117-
// {"col4", TypeId::INTEGER, true, Dist::Uniform, 0, 2048}}},
111+
// Table 2
112+
{"test_2",
113+
TEST7_SIZE,
114+
{{"colA", TypeId::INTEGER, false, Dist::Serial, 0, 99},
115+
{"colB", TypeId::INTEGER, true, Dist::Uniform, 0, 999},
116+
{"colC", TypeId::INTEGER, true, Dist::Cyclic, 0, 9}}},
118117

119118
// // Table 3
120119
// {"test_3",
@@ -143,9 +142,10 @@ void TableGenerator::GenerateTestTables() {
143142
// // Table 7
144143
// {"test_7",
145144
// TEST7_SIZE,
146-
// {{"colA", TypeId::BIGINT, false, Dist::Serial, 0, 0},
147-
// {"colB", TypeId::INTEGER, true, Dist::Serial, 0, 0},
148-
// {"colC", TypeId::INTEGER, true, Dist::Cyclic, 0, 9}}},
145+
// {{"col1", TypeId::SMALLINT, false, Dist::Serial, 0, 0},
146+
// {"col2", TypeId::INTEGER, true, Dist::Uniform, 0, 9},
147+
// {"col3", TypeId::BIGINT, false, Dist::Uniform, 0, 1024},
148+
// {"col4", TypeId::INTEGER, true, Dist::Uniform, 0, 2048}}},
149149

150150
// // Table 8
151151
// {"test_8",

0 commit comments

Comments
 (0)