hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-7419) Missing break in SemanticAnalyzer#getTableDescFromSerDe()
Date Tue, 15 Jul 2014 23:03:04 GMT
Ted Yu created HIVE-7419:
----------------------------

             Summary: 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


{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