Skip to content

ARROW-3843: [C++][Python] Allow a "degenerate" Parquet file with no columns#3985

Closed
wesm wants to merge 2 commits intoapache:masterfrom
wesm:ARROW-3843
Closed

ARROW-3843: [C++][Python] Allow a "degenerate" Parquet file with no columns#3985
wesm wants to merge 2 commits intoapache:masterfrom
wesm:ARROW-3843

Conversation

@wesm
Copy link
Copy Markdown
Member

@wesm wesm commented Mar 20, 2019

No description provided.

@xhochy
Copy link
Copy Markdown
Member

xhochy commented Mar 20, 2019

@wesm Tests are failing.

@wesm
Copy link
Copy Markdown
Member Author

wesm commented Mar 20, 2019

Will fix

@wesm
Copy link
Copy Markdown
Member Author

wesm commented Mar 21, 2019

This should be good now

// Degenerate case of Parquet file with no columns
return GroupNode::FromParquet(static_cast<const void*>(&root), next_id(), {});
} else {
throw ParquetException(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't know we could throw in parquet.

@fsaintjacques
Copy link
Copy Markdown
Contributor

OSX failing tests is due to LLVM7 brew error. AppVeyoer is due to anaconda http mirror failure.

@wesm wesm closed this in c91e874 Mar 22, 2019
kszucs pushed a commit that referenced this pull request Mar 24, 2019
…olumns

Author: Wes McKinney <wesm+git@apache.org>

Closes #3985 from wesm/ARROW-3843 and squashes the following commits:

2aba926 <Wes McKinney> Add C++ unit test for zero-columns. Distinguish from degenerate root node
1588a08 <Wes McKinney> Allow a degenerate Parquet file with no columns
@wesm wesm deleted the ARROW-3843 branch March 24, 2019 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants