Expose meta().cas and meta().expiration to N1QL

Description

GSI is now passing the CAS and Expiry fields. These should now be exposed via expression evaluator and the validation rules of CREATE INDEX should be updated to allow references to these.

Components

Affects versions

Fix versions

Labels

Environment

None

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Keshav Murthy March 4, 2017 at 1:11 AM

This does need to be documented. Separate task.  I'm resolving this MB from engineering.

cc

Prerna Manaktala February 24, 2017 at 3:28 PM

I think it was supported from n1ql side, as I see some tests in testrunner which had meta().expiry.

Thanks
Prerna

Sriram Melkote February 24, 2017 at 2:05 AM

Expiry was not supported in the past AFAIK. So no doc change needed.

CB robot February 24, 2017 at 1:36 AM

Build 5.0.0-2103 contains testrunner commit f5e23cc2c66a545f98cdbae66c59d2e6d7ce9868 with commit message:
and :Index expiration. META() now has "expiration" in the output.
https://github.com/couchbase/testrunner/commit/f5e23cc2c66a545f98cdbae66c59d2e6d7ce9868

Prerna Manaktala February 23, 2017 at 7:17 PM

We need a doc bug for this one.
Since expiry has been changed to expiration.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created December 14, 2016 at 5:55 AM
Updated December 6, 2018 at 2:32 PM
Resolved March 6, 2017 at 10:28 PM
Instabug