[
https://issues.apache.org/jira/browse/HIVE-19807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
BELUGA BEHR updated HIVE-19807:
-------------------------------
Attachment: HIVE-19807.2.patch
> Add Useful Error Message To Table Header/Footer Parsing
> -------------------------------------------------------
>
> Key: HIVE-19807
> URL: https://issues.apache.org/jira/browse/HIVE-19807
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 3.0.0, 2.3.2
> Reporter: BELUGA BEHR
> Assignee: BELUGA BEHR
> Priority: Minor
> Attachments: HIVE-19807.1.patch, HIVE-19807.2.patch
>
>
> Add some useful logging messages to invalid value parsing of
> {{skip.header.line.count}} and {{skip.footer.line.count}} for better
> troubleshooting.
> Also, parsing error resulted in {{java.io.IOException}} which:
> {quote}
> Signals that an I/O exception of some sort has occurred. This class is the
> general class of exceptions produced by failed or interrupted I/O operations.
> {quote}
> A parsing error is not the result of a failed or interrupted I/O operation so
> I dropped it and replaced with runtime exception {{IllegalArgumentException}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)