You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@asterixdb.apache.org by as...@googlecode.com on 2015/07/25 01:12:47 UTC

Issue 911 in asterixdb: Grammar change needed for CREATE INDEX (no-op but less confusing)

Status: Accepted
Owner: sjaco...@ucr.edu
CC: ildar.absalyamov,  bamou...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 911 by dtab...@gmail.com: Grammar change needed for CREATE INDEX  
(no-op but less confusing)
https://code.google.com/p/asterixdb/issues/detail?id=911

Right now the IndexSpecification is:

     IndexSpecification ::= "index" Identifier IfNotExists "on" QualifiedName
                            "(" ( OpenField ) ( "," OpenField )* ")"  
( "type" IndexType )? ( "enforced" )?
     IndexType          ::= "btree"
                          | "rtree"
                          | "keyword"
                          | "ngram" "(" IntegerLiteral ")"

There is no reason (and it's confusing IMO) to say OpenField - this is  
actually ANY field, not just any OPEN field.  The grammar probably said  
Field before and should be reverted to that - and the documentation should  
also be updated accordingly.

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings