hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaveen Raajan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-10277) Unable to process Comment line '--' in HIVE-1.1.0
Date Thu, 09 Apr 2015 08:47:12 GMT
Kaveen Raajan created HIVE-10277:
------------------------------------

             Summary: Unable to process Comment line '--' in HIVE-1.1.0
                 Key: HIVE-10277
                 URL: https://issues.apache.org/jira/browse/HIVE-10277
             Project: Hive
          Issue Type: Bug
          Components: Hive
    Affects Versions: 1.0.0
            Reporter: Kaveen Raajan
            Priority: Minor


I tried to use comment line (*--*) in HIVE-1.1.0 command shell like,
~hive>--this is comment line~
~hive>show tables;~

I got error like 
{quote}
NoViableAltException(-1@[])
        at org.apache.hadoop.hive.ql.parse.HiveParser.statement(HiveParser.java:
1020)
        at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:19
9)
        at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:16
6)
        at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:393)
        at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:307)
        at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1112)
        at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1160)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1039)
        at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:2
07)
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:159)
        at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:370)
        at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:754
)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:615)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
FAILED: ParseException line 2:0 cannot recognize input near '<EOF>' '<EOF>' '<EO
F>'
{quote}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message