hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7419) Missing break in SemanticAnalyzer#getTableDescFromSerDe()
Date Fri, 18 Jul 2014 04:17:04 GMT

     [ https://issues.apache.org/jira/browse/HIVE-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Navis updated HIVE-7419:
------------------------

    Attachment: HIVE-7419.1.patch.txt

> 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
>            Priority: Minor
>         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)

Mime
View raw message