[ 
https://issues.apache.org/jira/browse/TAJO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14370593#comment-14370593
 ] 

Hyunsik Choi commented on TAJO-1348:
------------------------------------

Hi guys,

Above all, I greatly appreciate your recent contribution. It is very helpful to 
Tajo community.

Anyway, there may be two solution against this issue. One is to print out the 
exact error message to let a user to know the correct grammar. The second 
solution is to allow the exchange between USING clause and PARTITION BY clause.

Navis seems to choose the second solution. But, grammar seems to allow the 
exchange among all USING, WITH, and PARTITION BY. I think that too flexible 
grammar may make future grammar changes complicated. Actually, I think that in 
near future, we can have another clause like partition property after PARTITION 
BY clause.

Best regards,
Hyunsik

> Parser error during create partitioned table
> --------------------------------------------
>
>                 Key: TAJO-1348
>                 URL: https://issues.apache.org/jira/browse/TAJO-1348
>             Project: Tajo
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.9.0
>            Reporter: Fengdong Yu
>            Assignee: Navis
>
> We must create partitioned table like this :
> create external table (a text, b text)
> USING RCFILE
> PARTITION BY COLUMN (dt text)
> LOCATION '/data/text;
> 'USING RCFILE' MUST place before 'PARTITION BY COLUMN', otherwise, Tajo 
> complain 'ERROR: missing USING at 'PARTITION'



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

Reply via email to