Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cpp/src/parquet/column_reader_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ TEST_F(TestPrimitiveReader, TestReadValuesMissingWithDictionary) {
pages_.push_back(dict_page);
pages_.push_back(data_page);
InitReader(&descr);
auto reader = static_cast<ByteArrayReader*>(reader_.get());
const ByteArray* dict = nullptr;
auto reader = static_cast<Int32Reader*>(reader_.get());
const int32_t* dict = nullptr;
int32_t dict_len = 0;
int64_t indices_read = 0;
int32_t indices[batch_size];
Expand Down Expand Up @@ -616,8 +616,8 @@ TEST_F(TestPrimitiveReader, TestNonDictionaryEncodedPagesWithExposeEncoding) {
pages_.push_back(data_page);
InitReader(&descr);

auto reader = static_cast<ByteArrayReader*>(reader_.get());
const ByteArray* dict = nullptr;
auto reader = static_cast<Int32Reader*>(reader_.get());
const int32_t* dict = nullptr;
int32_t dict_len = 0;
int64_t indices_read = 0;
auto indices = std::make_unique<int32_t[]>(value_size);
Expand Down
Loading