shamim8888 / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

Error in AQL docs for index drop statement #900

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The grammar and example given for the index drop statement are inconsistent. 
The BNF is as follows:

DropStatement       ::= "drop" ( "dataverse" Identifier IfExists
                               | "type" FunctionOrTypeName IfExists
                               | "dataset" QualifiedName IfExists
                               | "index" DoubleQualifiedName IfExists
                               | "function" FunctionSignature IfExists )
IfExists            ::= ( "if" "exists" )?

But the example erroneously just uses a Qualified and not DoubleQualified name:

drop index fbSenderLocIndex;

It should be:

drop index Facebookusers.fbSenderLocIndex;

Original issue reported on code.google.com by ima...@uci.edu on 13 Jun 2015 at 8:15