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

ASF GitHub Bot commented on TAJO-836:
-------------------------------------

Github user hyunsik commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/15#discussion_r14166548
  
    --- Diff: 
tajo-core/src/main/antlr4/org/apache/tajo/engine/parser/SQLParser.g4 ---
    @@ -68,8 +68,8 @@ schema_statement
       ;
     
     index_statement
    -  : CREATE (u=UNIQUE)? INDEX n=identifier ON t=table_name 
(m=method_specifier)?
    -    LEFT_PAREN s=sort_specifier_list RIGHT_PAREN p=param_clause?
    +  : CREATE (u=UNIQUE)? INDEX identifier ON table_name (method_specifier)?
    +    LEFT_PAREN sort_specifier_list RIGHT_PAREN param_clause? 
(where_clause)?
    --- End diff --
    
    If this patch does not support ```(where_clause)?``` now, how about adding 
it when it needed?


> create index support
> --------------------
>
>                 Key: TAJO-836
>                 URL: https://issues.apache.org/jira/browse/TAJO-836
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: operator/expression, physical operator, planner/optimizer
>            Reporter: Jihoon Son
>            Assignee: Jihoon Son
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: TAJO-836.patch, TAJO-836_2.patch, TAJO-836_3.patch
>
>
> The synopsis is as follows.
> {noformat}
> CREATE [ UNIQUE ] INDEX [ name ] ON table [ USING method ]
>     ( { column | ( expression ) } [ ASC | DESC ] [ NULLS { FIRST | LAST } ] 
> [, ...] )
>     [ WHERE predicate ]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to