tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JaeHwa Jung (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAJO-369) Add CREATE EXTERNAL TABLE... BY PARTITION statement to parser
Date Tue, 03 Dec 2013 07:48:38 GMT
JaeHwa Jung created TAJO-369:

             Summary: Add CREATE EXTERNAL TABLE... BY PARTITION statement to parser
                 Key: TAJO-369
                 URL: https://issues.apache.org/jira/browse/TAJO-369
             Project: Tajo
          Issue Type: Sub-task
          Components: parser
    Affects Versions: 0.8-incubating
            Reporter: JaeHwa Jung
            Assignee: JaeHwa Jung
             Fix For: 0.8-incubating

I found parse error when I wrote 'CREATE EXTERNAL TABLE BY PARTITION' statement as follows:

2013-12-03 16:42:36,800 ERROR master.GlobalEngine (GlobalEngine.java:executeQuery(172)) -

Stack Trace:
org.apache.tajo.engine.parser.SQLSyntaxError: ERROR: mismatched input 'PARTITION' expecting
LINE 1:123  ... ON 'hdfs://localhost:9010/tajo/warehouse/sales_column3' PARTITION BY COLUMN(col1)
	at org.apache.tajo.engine.parser.SQLAnalyzer.parse(SQLAnalyzer.java:64)
	at org.apache.tajo.master.GlobalEngine.executeQuery(GlobalEngine.java:134)
	at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.submitQuery(TajoMasterClientService.java:131)
	at org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$2.callBlockingMethod(TajoMasterClientProtocol.java:228)

SQLAnalyzer needs to support this statement.

This message was sent by Atlassian JIRA

View raw message