fdb-record-layer
fdb-record-layer copied to clipboard
index matching sometimes does not apply remaining computations
When the query matches the index perfectly (even the returned values), the fetch that is inserted on top of the index scan will create a complete record instead of just the projected fields.
The result is a plan that just uses a FETCH(INDEX_SCAN())
instead of a MAP(FETCH(INDEX_SCAN()))
that reapplies the projection.