You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The query is not very robustly expressed, but the idea is something like
SELECT * FROM Item WHERE color = 'red' ORDER BY prices['large']
The immediate problem is that RecordQueryPlanner.AndWithThenPlanner.planNestedFieldChild is not able to advanceCurrentSort when it is only a part of a nested concat that just passed the conditional check.
But, in general, all of currentSortMatches has problems with multi-column keys.
For instance, adding another condition
.mapMatches(k -> k.equalsValue("large"), v -> v.greaterThan(100)))))
further restricts where the sort must match because it is an inequality.
In this more complex case, RecordQueryPlanner.AndWithThenPlanner.plan is called recursively due to the nested conjunction. The inner one does advance the sort, but fails to successfully convey this to the outer one.
The text was updated successfully, but these errors were encountered:
The query is not very robustly expressed, but the idea is something like
The immediate problem is that
RecordQueryPlanner.AndWithThenPlanner.planNestedFieldChild
is not able toadvanceCurrentSort
when it is only a part of a nested concat that just passed the conditional check.But, in general, all of
currentSortMatches
has problems with multi-column keys.For instance, adding another condition
further restricts where the sort must match because it is an inequality.
In this more complex case,
RecordQueryPlanner.AndWithThenPlanner.plan
is called recursively due to the nested conjunction. The inner one does advance the sort, but fails to successfully convey this to the outer one.The text was updated successfully, but these errors were encountered: