[
https://issues.apache.org/jira/browse/HIVE-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Chauhan updated HIVE-7419:
-----------------------------------
Resolution: Fixed
Fix Version/s: 0.14.0
Status: Resolved (was: Patch Available)
Committed to trunk. Thanks, Navis!
> Missing break in SemanticAnalyzer#getTableDescFromSerDe()
> ---------------------------------------------------------
>
> Key: HIVE-7419
> URL: https://issues.apache.org/jira/browse/HIVE-7419
> Project: Hive
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Navis
> Priority: Minor
> Fix For: 0.14.0
>
> Attachments: HIVE-7419.1.patch.txt
>
>
> {code}
> case HiveParser.TOK_TABLEROWFORMATLINES:
> String lineDelim =
> unescapeSQLString(rowChild.getChild(0).getText());
> tblDesc.getProperties().setProperty(serdeConstants.LINE_DELIM,
> lineDelim);
> if (!lineDelim.equals("\n") && !lineDelim.equals("10")) {
> throw new SemanticException(generateErrorMessage(rowChild,
> ErrorMsg.LINES_TERMINATED_BY_NON_NEWLINE.getMsg()));
> }
> case HiveParser.TOK_TABLEROWFORMATNULL:
> String nullFormat =
> unescapeSQLString(rowChild.getChild(0).getText());
> {code}
> break seems to be missing for TOK_TABLEROWFORMATLINES case.
--
This message was sent by Atlassian JIRA
(v6.2#6252)