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

    https://github.com/apache/tajo/pull/15#discussion_r14493505
  
    --- 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 --
    
    ```where_clause``` is already supported in this patch.
    CreateIndexNode can have ScanNode as its child.
    The ```where_clause``` is evaluated in Scan.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to