Details
Description
SQL queries using the IN operator using PKs of different SortOrder were failing during the WHERE clause compilation phase and causing OOM issues on the servers when a large number (~50k) of RVC elements were used in the IN operator.
SQL queries were failing specifically during the skip scan filter generation. The skip scan filter is generated using a list of point key ranges. ScanRanges.create
The following getPointKeys code uses the KeyRange sets to create a new list of point-keys. When there are a large number of RVC elements the above