[
https://issues.apache.org/jira/browse/HIVE-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-3012:
------------------------------
Attachment: HIVE-3012.D3099.1.patch
njain requested code review of "HIVE-3012 [jira] hive custom scripts do not
work well if the data contains new lines".
Reviewers: JIRA
https://issues.apache.org/jira/browse/HIVE-3012
HIVE-3012 hive custom scripts do not work well if the data contains new lines
If the data contain newline, it will be passed as is to the script.
The script has no way of splitting the data based on the new line.
An option should be added to hive to escape/unescape the new lines.
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D3099
AFFECTED FILES
data/scripts/newline.py
common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
ql/src/test/results/clientpositive/newline.q.out
ql/src/test/queries/clientpositive/newline.q
ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveUtils.java
ql/src/java/org/apache/hadoop/hive/ql/exec/TextRecordReader.java
ql/src/java/org/apache/hadoop/hive/ql/exec/TextRecordWriter.java
MANAGE HERALD DIFFERENTIAL RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/7047/
Tip: use the X-Herald-Rules header to filter Herald messages in your client.
> hive custom scripts do not work well if the data contains new lines
> -------------------------------------------------------------------
>
> Key: HIVE-3012
> URL: https://issues.apache.org/jira/browse/HIVE-3012
> Project: Hive
> Issue Type: Improvement
> Reporter: Namit Jain
> Assignee: Namit Jain
> Attachments: HIVE-3012.D3099.1.patch
>
>
> If the data contain newline, it will be passed as is to the script.
> The script has no way of splitting the data based on the new line.
> An option should be added to hive to escape/unescape the new lines.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira