daml/ledger-service
Stephen Compall 17709b5ba3
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
2021-07-23 17:13:55 +00:00
..
cli-opts Stop printing stacktrace on logging setup failures (#10364) 2021-07-22 05:25:02 +00:00
db-backend use a single SQL query for any number of json-api query pairs (#10344) 2021-07-23 17:13:55 +00:00
http-json use a single SQL query for any number of json-api query pairs (#10344) 2021-07-23 17:13:55 +00:00
http-json-cli Unhide JSON API metrics (#10177) 2021-07-05 13:25:00 +00:00
http-json-ledger-client [JSON-API] Include the logging context in the ledger client for consistent logging (#10332) 2021-07-21 10:05:45 +02:00
http-json-oracle daml-lf/data: Move ID aliases to Ref from _ledger-api-common_. [KVL-1002] (#10323) 2021-07-20 11:01:19 +00:00
http-json-perf json-api perf tests: combine large-ACS frequencies combinatorially instead of in lockstep (#10101) 2021-06-24 10:00:02 -04:00
http-json-testing Support deletion of a large number of contracts (#10353) 2021-07-22 06:47:26 +00:00
jwt LF: Deprecate com.daml.lf.data.TryOps.Bracket (#10249) 2021-07-13 10:16:53 +00:00
lf-value-json ledger-service, navigator: Damlification of Scala files (#9669) 2021-05-20 09:14:13 +00:00
utils [JSON-API] Include the logging context in the ledger client for consistent logging (#10332) 2021-07-21 10:05:45 +02:00