Project

General

Profile

Bug #8878

Updated by Eric Faulhaber 19 days ago

When jumble sort is detected, all queries in a joined query are converted as @PreselectQuery@. The rule that dictates this behavior is in @rules/annotations/preselect_prep.rules@ line 191. This rule can lead to choosing the wrong query type. For example if there are queries that use @first@ or @last@ clause in a joined query and it is sorted by multiple fields, FWD will convert all individual queries as @PreselectQuery@ instead of @RandomAccesQuery@ for the ones that use @first@ or @last@ clause. The same is true for queries that use @each@ and should be @AdaptiveQuery@.

Back