asterixdb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Carey <dtab...@gmail.com>
Subject Re: [Delete indexes]
Date Tue, 24 May 2016 16:03:30 GMT
Not easily found in the docs, but yes, there is - it's documentation can 
be found here:

http://asterixdb.apache.org/docs/0.8.8-incubating/aql/manual.html#Statements

Look for DropStatement - which is defined as:

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

Which for an index-based example looks like:

         drop index FacebookUsers.fbSenderLocIndex;

Cheers,

Mike


On 5/24/16 3:49 AM, Magnus Kongshem wrote:
> Hi guys,
>
> Is there a way to delete a previously created index in a dataset? 
> Can't find it in the docs.
>
> -- 
>
> Mvh
>
> Magnus Kongshem
> +47 415 65 906
>


Mime
View raw message