[
https://issues.apache.org/jira/browse/ORC-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16145908#comment-16145908
]
ASF GitHub Bot commented on ORC-162:
------------------------------------
GitHub user omalley opened a pull request:
https://github.com/apache/orc/pull/163
ORC-162. Handle 0 byte files as empty ORC files.
Treat 0 byte files as an empty ORC file with schema of struct<>.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/orc orc-162
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/orc/pull/163.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #163
----
commit 3d5561cc444fd04326aef12a00d172de7f1e3573
Author: Owen O'Malley <[email protected]>
Date: 2017-08-29T18:07:39Z
ORC-162. Handle 0 byte files as empty ORC files.
Signed-off-by: Owen O'Malley <[email protected]>
----
> Handle 0 byte files as empty ORC files
> --------------------------------------
>
> Key: ORC-162
> URL: https://issues.apache.org/jira/browse/ORC-162
> Project: ORC
> Issue Type: Bug
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
>
> Hive often creates empty files for empty buckets, which can introduce
> significant load on the HDFS cluster. Therefore, they made the Hive
> OrcOutputFormat and OrcInputFormat use 0 byte ORC files as a special case.
> We need to make the other readers treat them reasonably.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)