asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asteri...@googlecode.com
Subject Issue 911 in asterixdb: Grammar change needed for CREATE INDEX (no-op but less confusing)
Date Fri, 24 Jul 2015 23:12:47 GMT
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

Mime
View raw message