[
https://issues.apache.org/jira/browse/HIVE-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-4724:
------------------------------
Attachment: HIVE-4724.D11529.1.patch
omalley requested code review of "HIVE-4724 [jira] ORC readers should have a
better error detection for non-ORC files".
Reviewers: JIRA
Add better checks for non-ORC files in the ORC reader to fail with a better
error message. Also add a version
check to warn users if they are reading files from a more advanaced version of
Hadoop. Added a check so that unknown
encodings for a column will fail quickly with a good error message.
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D11529
AFFECTED FILES
.gitignore
.idea/.name
.idea/ant.xml
.idea/codeStyleSettings.xml
.idea/compiler.xml
.idea/copyright/Apache.xml
.idea/copyright/profiles_settings.xml
.idea/encodings.xml
.idea/libraries/default.xml
.idea/libraries/hadoop0_20S_shim.xml
.idea/libraries/hadoop0_20_shim.xml
.idea/libraries/hadoop0_23.xml
.idea/misc.xml
.idea/modules.xml
.idea/scopes/scope_settings.xml
.idea/uiDesigner.xml
.idea/vcs.xml
.idea/workspace.xml
ant/Ant.iml
builtins/Builtins.iml
cli/src/Cli.iml
common/src/Common.iml
contrib/src/Contrib.iml
hbase-handler/src/Hbase-handler.iml
hwi/src/Hwi.iml
jdbc/src/Jdbc.iml
metastore/src/Metastore.iml
metastore/src/gen/thrift/Thrift.iml
metastore/src/test/Metastore-test.iml
pdk/src/Pdk.iml
pdk/test-plugin/Test-plugin.iml
ql/src/Ql.iml
ql/src/gen/protobuf/gen-java/org/apache/hadoop/hive/ql/io/orc/OrcProto.java
ql/src/gen/thrift/Thrift1.iml
ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcFile.java
ql/src/java/org/apache/hadoop/hive/ql/io/orc/ReaderImpl.java
ql/src/java/org/apache/hadoop/hive/ql/io/orc/RecordReaderImpl.java
ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java
ql/src/protobuf/org/apache/hadoop/hive/ql/io/orc/orc_proto.proto
ql/src/test/Ql-test.iml
serde/src/Serde.iml
serde/src/gen/protobuf/Protobuf.iml
serde/src/gen/thrift/Thrift2.iml
serde/src/test/Serde-test.iml
service/src/Service.iml
service/src/gen/thrift/Thrift3.iml
shims/src/0.20/Shims-0.20.iml
shims/src/0.20S/Shims-0.20S.iml
shims/src/0.23/Shims-0.23.iml
shims/src/Shims.iml
shims/src/common-secure/Shims-secure.iml
shims/src/test/Shims-test.iml
MANAGE HERALD RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/27255/
To: JIRA, omalley
> ORC readers should have a better error detection for non-ORC files
> ------------------------------------------------------------------
>
> Key: HIVE-4724
> URL: https://issues.apache.org/jira/browse/HIVE-4724
> Project: Hive
> Issue Type: Bug
> Components: File Formats
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
> Attachments: HIVE-4724.D11529.1.patch
>
>
> A customer loaded a text file into a table that is stored as ORC. The error
> message was very unfriendly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira