wyzhao commented on a change in pull request #8672:
URL: https://github.com/apache/arrow/pull/8672#discussion_r529060879
##########
File path: python/pyarrow/parquet.py
##########
@@ -1237,6 +1264,8 @@ def validate_schemas(self):
if self.common_metadata is not None:
self.schema = self.common_metadata.schema
else:
+ if not self.pieces:
+ raise ValueError('No partition is found.')
Review comment:
I have remove this change from this JIRA/pull request. I will create
another pull request for this particular issue.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]