Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/15#discussion_r13629901
--- 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 --
I'm expecting that the main purpose of ```(where_clause)?``` is to allow
index data only for the subset of table data. If I'm wrong, please let me know
that.
---
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.
---