Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.3k
ARROW-6065: [C++][Parquet] Clean up parquet/arrow/reader.cc, reduce code duplication, improve readability#4963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1845,8 +1845,8 @@ TEST(TestArrowReadWrite, MultithreadedRead) { | ||
| } | ||
| TEST(TestArrowReadWrite, ReadSingleRowGroup) { | ||
| const int num_columns = 20; | ||
| const int num_rows = 1000; | ||
| const int num_columns = 10; | ||
| const int num_rows = 100; | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this to make the test faster? MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, and easier to debug | ||
| std::shared_ptr<Table> table; | ||
| ASSERT_NO_FATAL_FAILURE(MakeDoubleTable(num_columns, num_rows, 1, &table)); | ||
| @@ -1872,7 +1872,7 @@ TEST(TestArrowReadWrite, ReadSingleRowGroup) { | ||
| std::shared_ptr<Table> concatenated; | ||
| ASSERT_OK(ConcatenateTables({r1, r2}, &concatenated)); | ||
| ASSERT_TRUE(table->Equals(*concatenated)); | ||
| AssertTablesEqual(*concatenated, *table, /*same_chunk_layout=*/false); | ||
| ASSERT_TRUE(table->Equals(*r3)); | ||
| ASSERT_TRUE(r2->Equals(*r4)); | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow. Are we really maintaing all this by ourselves? Sounds like IWYU is not exactly user-friendy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, see another project e.g. https://github.com/apache/kudu/tree/master/build-support/iwyu/mappings
the trouble is that IWYU in some cases will find the "minimal" header to obtain certain symbols which might be something internal to the STL implementation, but that will vary on different compilers (e.g. MSVC's internal STL stuff may be different) so you need to force it in some cases to use the right "official"/"public" headers