-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use a single SQL query for any number of json-api query pairs (#10344)
* new projection for aggregated matched-queries We can redo all the template-ID matches (and payload query matches, if needed) in the SELECT projection clause to emit a list of matchedQueries indices SQL-side. CHANGELOG_BEGIN CHANGELOG_END * selectContractsMultiTemplate always returns one query * factoring * remove multiquery deduplication from ContractDao * test simplest case of projectedIndex; remove uniqueSets tests * remove uniqueSets * add more test cases for the 3 main varieties of potential inputs * remove uniqueSets tests that were commented for reference * remove unneeded left-join * scala 2.12 port * port Map test order to 2.12 * use SortedMap so the Scala version tests are unified - suggested by @cocreature; thanks
- Loading branch information
Showing
6 changed files
with
173 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.