Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Pavan PBPavan PBReporter
Sai KommarajuSai KommarajuPriority
MajorInstabug
Open Instabug
Details
Details
Assignee
Pavan PB
Pavan PBReporter
Sai Kommaraju
Sai KommarajuPriority
Instabug
Open Instabug
PagerDuty
PagerDuty
PagerDuty
Sentry
Sentry
Sentry
Zendesk Support
Zendesk Support
Zendesk Support
Created May 6, 2022 at 9:55 AM
Updated October 7, 2022 at 8:54 AM
Resolved May 16, 2022 at 4:05 AM
indexer service will not index the document when leading index key is MISSING.
Index selection must be made such that when queries can give right results. Otherwise index must not be chosen.
So index to qualify, the leading index key must be part of the predicate or user must explicitly give leadingkey IS NOT MISSING.
Example:
INSERT INTO default VALUES("k01",{"a":1}); CREATE INDEX ix1 ON default(b); -- index will not have document "k01" SELECT d.* FROM default AS d; -- query will not choose index ix1. By choosing ix1 document "k01" will not return user (that result in wrong result)
By adding MISSING attribute on leading indexing key and indexer indexes MISSING like below. Any query on the default can use ix2. SLA specific queries can create there own targeted indexes.
CREATE INDEX ix2 ON default(b MISSING);