blob: de3b15494673e8d1af0ef40937aa215cfe95b5ea [file] [log] [blame]
salsubaieebb167912013-12-21 12:55:52 -08001/*
2 * Description : Notice the query hint to avoid using any secondary index to evaluate the predicate in the where clause
3 * Expected Res : Success
4 * Date : 21th December 2013
5 */
6
7drop dataverse test if exists;
8create dataverse test;
9
10use dataverse test;
11
12create type DBLPType as closed {
13 id: int32,
14 dblpid: string,
15 title: string,
16 authors: string,
17 misc: string
18}
19
20create dataset DBLP(DBLPType) primary key id;
21
22create index ngram_index on DBLP(title) type ngram(3);
23
24delete $o from dataset DBLP /*+ skip-index */ where contains($o.title, "Multimedia")