blob: de3b15494673e8d1af0ef40937aa215cfe95b5ea [file] [log] [blame]
/*
* Description : Notice the query hint to avoid using any secondary index to evaluate the predicate in the where clause
* Expected Res : Success
* Date : 21th December 2013
*/
drop dataverse test if exists;
create dataverse test;
use dataverse test;
create type DBLPType as closed {
id: int32,
dblpid: string,
title: string,
authors: string,
misc: string
}
create dataset DBLP(DBLPType) primary key id;
create index ngram_index on DBLP(title) type ngram(3);
delete $o from dataset DBLP /*+ skip-index */ where contains($o.title, "Multimedia")