blob: b8fc5ab966ddacf53676d2e00ee81aaf5d1dc36d [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
salsubaieedf89fbc2013-12-21 19:51:42 -080024delete $o from dataset DBLP where /*+ skip-index */ contains($o.title, "Multimedia")