Description
The query engine internally represents all numbers as float64. This leads to rounding errors at the margins. In particular, with large CAS values, the rounding errors cause CAS mismatch errors.
See https://forums.couchbase.com/t/different-cas-value-for-the-same-document-obtained-via-java-sdk-and-n1ql/6503/25 and https://forums.couchbase.com/t/n1ql-returns-a-different-cas-than-the-driver-functions/9124/3