In the readStore, if we traverse one field multiple times, it reads the wrong value and does not throw expectations or warnings.
For example, in RLEInputVector readStore, if we traverse it multiple times with get, the end-offset will prevent the traverse and only return the value in the last offset, which results in a wrong read.
We should either explicitly throws exceptions to prevent multiple traverses, or allow it by removing such constraint or adding reset methods to reset the offset.
In the readStore, if we traverse one field multiple times, it reads the wrong value and does not throw expectations or warnings.
For example, in
RLEInputVector
readStore, if we traverse it multiple times withget
, theend-offset
will prevent the traverse and only return the value in the last offset, which results in a wrong read.We should either explicitly throws exceptions to prevent multiple traverses, or allow it by removing such constraint or adding reset methods to reset the offset.