salsubaiee | bb16791 | 2013-12-21 12:55:52 -0800 | [diff] [blame] | 1 | /* |
| 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 | |
| 7 | drop dataverse test if exists; |
| 8 | create dataverse test; |
| 9 | |
| 10 | use dataverse test; |
| 11 | |
| 12 | create type DBLPType as closed { |
| 13 | id: int32, |
| 14 | dblpid: string, |
| 15 | title: string, |
| 16 | authors: string, |
| 17 | misc: string |
| 18 | } |
| 19 | |
| 20 | create dataset DBLP(DBLPType) primary key id; |
| 21 | |
| 22 | create index ngram_index on DBLP(title) type ngram(3); |
| 23 | |
salsubaiee | df89fbc | 2013-12-21 19:51:42 -0800 | [diff] [blame] | 24 | delete $o from dataset DBLP where /*+ skip-index */ contains($o.title, "Multimedia") |