Skip to content

Commit d728fac

Browse files
authored
Merge branch 'main' into main
2 parents d605dc2 + 08e8be7 commit d728fac

File tree

15 files changed

+16
-16
lines changed

15 files changed

+16
-16
lines changed

src/paimon/common/global_index/complete_index_score_batch_reader_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ class CompleteIndexScoreBatchReaderTest : public ::testing::Test {
4343
}
4444

4545
std::unique_ptr<BatchReader> PrepareCompleteIndexScoreBatchReader(
46-
const std::shared_ptr<arrow::Array>& src_array, const RoaringBitmap32& seleced_bitmap,
46+
const std::shared_ptr<arrow::Array>& src_array, const RoaringBitmap32& selected_bitmap,
4747
const std::vector<float>& scores, int32_t batch_size) const {
4848
auto file_batch_reader = std::make_unique<MockFileBatchReader>(src_array, src_array->type(),
49-
seleced_bitmap, batch_size);
49+
selected_bitmap, batch_size);
5050
return std::make_unique<CompleteIndexScoreBatchReader>(std::move(file_batch_reader), scores,
5151
pool_);
5252
}

src/paimon/core/global_index/indexed_split_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ TEST(IndexedSplitTest, TestSimple) {
6262
auto meta3 = std::make_shared<DataFileMeta>(
6363
"file3.orc", 102l, 200l, BinaryRow::EmptyRow(), BinaryRow::EmptyRow(),
6464
SimpleStats::EmptyStats(), SimpleStats::EmptyStats(), 1000l, 1199l, 0, 0,
65-
std::vector<std::optional<std::string>>(), Timestamp(1765535214349, 0), 0, nullptr,
65+
std::vector<std::optional<std::string>>(), Timestamp(1765535214349l, 0), 0, nullptr,
6666
FileSource::Append(), std::nullopt, std::nullopt, 1000l, std::nullopt);
6767

6868
DataSplitImpl::Builder builder(

src/paimon/format/orc/orc_input_output_stream_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ TEST(OrcInputOutputStreamTest, TestSimple) {
159159

160160
struct_batch = dynamic_cast<::orc::StructVectorBatch*>(batch.get());
161161
ASSERT_TRUE(struct_batch);
162-
int_batch = static_cast<::orc::LongVectorBatch*>(struct_batch->fields[0]);
162+
int_batch = dynamic_cast<::orc::LongVectorBatch*>(struct_batch->fields[0]);
163163
ASSERT_TRUE(int_batch);
164164
double_batch = dynamic_cast<::orc::DoubleVectorBatch*>(struct_batch->fields[1]);
165165
ASSERT_TRUE(double_batch);

test/test_data/orc/append_with_global_index.db/append_with_global_index/snapshot/snapshot-1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
"totalRecordCount" : 8,
1616
"deltaRecordCount" : 8,
1717
"changelogRecordCount" : 0,
18-
"nextRowId" : 0
18+
"nextRowId" : 8
1919
}

test/test_data/orc/append_with_global_index.db/append_with_global_index/snapshot/snapshot-2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"totalRecordCount" : 8,
1717
"deltaRecordCount" : 0,
1818
"changelogRecordCount" : 0,
19-
"nextRowId" : 0
19+
"nextRowId" : 8
2020
}

test/test_data/orc/append_with_global_index.db/append_with_global_index/snapshot/snapshot-3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"totalRecordCount" : 8,
1717
"deltaRecordCount" : 0,
1818
"changelogRecordCount" : 0,
19-
"nextRowId" : 0
19+
"nextRowId" : 8
2020
}

test/test_data/orc/append_with_global_index.db/append_with_global_index/snapshot/snapshot-4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"totalRecordCount" : 8,
1717
"deltaRecordCount" : 0,
1818
"changelogRecordCount" : 0,
19-
"nextRowId" : 0
19+
"nextRowId" : 8
2020
}

test/test_data/orc/append_with_global_index_with_partition.db/append_with_global_index_with_partition/snapshot/snapshot-1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
"totalRecordCount" : 8,
1616
"deltaRecordCount" : 8,
1717
"changelogRecordCount" : 0,
18-
"nextRowId" : 0
18+
"nextRowId" : 8
1919
}

test/test_data/orc/append_with_global_index_with_partition.db/append_with_global_index_with_partition/snapshot/snapshot-2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"totalRecordCount" : 8,
1717
"deltaRecordCount" : 0,
1818
"changelogRecordCount" : 0,
19-
"nextRowId" : 0
19+
"nextRowId" : 8
2020
}

test/test_data/parquet/append_with_global_index.db/append_with_global_index/snapshot/snapshot-1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
"totalRecordCount" : 8,
1616
"deltaRecordCount" : 8,
1717
"changelogRecordCount" : 0,
18-
"nextRowId" : 0
18+
"nextRowId" : 8
1919
}

0 commit comments

Comments
 (0)