Skip to content

Commit bca00a4

Browse files
committed
1
1 parent 11430d8 commit bca00a4

13 files changed

Lines changed: 77 additions & 0 deletions

src/paimon/core/table/source/table_read_test.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,18 @@ TEST(TableReadTest, TestCreateAppendOnlyTableRead) {
131131
ASSERT_TRUE(append_only_table_read);
132132
}
133133

134+
TEST(TableReadTest, TestFoo) {
135+
DataSplitsDv input_data_splits = {
136+
{paimon::test::GetDataDir() + "foo.db/bar/bucket-0",
137+
BinaryRow::EMPTY_ROW,
138+
{"data-e6d1828e-4f16-43a8-b8a2-7300da7c4071-0.orc"},
139+
{DeletionFile(
140+
"append.db/native_paimon_dv_read/index/index-fc85b211-27db-431e-b3cf-5665090e6cca-0",
141+
/*offset*/ 1, /*length*/ 24, /*cardinality*/ 2)}}};
142+
auto data_splits = CreateDataSplits(input_data_splits,
143+
/*snapshot_id*/ 2);
144+
}
145+
134146
TEST(TableReadTest, TestMergeOptions) {
135147
std::string path = paimon::test::GetDataDir() + "/orc/append_09.db/append_09";
136148
ReadContextBuilder context_builder(path);
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"version": 3,
3+
"id": 0,
4+
"fields": [
5+
{
6+
"id": 0,
7+
"name": "c0",
8+
"type": "INT"
9+
},
10+
{
11+
"id": 1,
12+
"name": "c1",
13+
"type": "INT"
14+
}
15+
],
16+
"highestFieldId": 1,
17+
"partitionKeys": [],
18+
"primaryKeys": [],
19+
"options": {
20+
"deletion-vectors.enabled": "true",
21+
"file.format": "orc",
22+
"metastore.partitioned-table": "true"
23+
},
24+
"timeMillis": 1774676661811
25+
}

0 commit comments

Comments
 (0)