lacuna-tech / mds-core

Repo for LADOT MDS implementation for contribution to the Open Mobility Foundation
Apache License 2.0
13 stars 9 forks source link

APPS-452 - Get events using columns #994

Closed nessur closed 2 years ago

nessur commented 2 years ago

📚 Purpose

In order to select a little data as required, and no more, a sparse selection module was added to the query builder. By limiting JOINs to those necessary, and columns to those needed, this expands the capabilities of our mapping by speeding up the result time of an average event/telemetry query by 2-3x . Next step, is support linkability, where additional data on specific events can be loaded using the Event ID.

I was trying to support conditional return types, between EventDomainModel[] and PartialEventDomainModel[], but that didn't work when trying to integrate with the RPC client/service layer.

👌 Resolves:

📦 Impacts:

[mds-ingest-service]

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 4ab32e219bc233658929e8ad9be69a6f85f15f7f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 36 packages | Name | Type | | ------------------------------------------ | ----- | | @mds-core/mds-ingest-service | Minor | | @mds-core/mds-agency | Patch | | @mds-core/mds-audit-api | Patch | | @mds-core/mds-compliance-batch-processor | Patch | | @mds-core/mds-compliance-engine | Patch | | @mds-core/mds-db | Patch | | @mds-core/mds-test-data | Patch | | @mds-core/mds-transaction-service | Patch | | @container-images/mds-ingest-service | Patch | | @container-images/mds-agency | Patch | | @container-images/mds-audit-api | Patch | | @mds-core/mds-api-helpers | Patch | | @mds-core/mds-compliance-api | Patch | | @mds-core/mds-compliance-service | Patch | | @mds-core/mds-policy | Patch | | @mds-core/mds-geography-api | Patch | | @mds-core/mds-geography-author-api | Patch | | @mds-core/mds-geography-service | Patch | | @mds-core/mds-jurisdiction-api | Patch | | @mds-core/mds-policy-author-api | Patch | | @mds-core/mds-policy-service | Patch | | @mds-core/mds-transaction-api | Patch | | @container-images/mds-transaction-service | Patch | | @mds-core/mds-collector-api | Patch | | @container-images/mds-compliance-api | Patch | | @container-images/mds-compliance-service | Patch | | @container-images/mds-policy | Patch | | @container-images/mds-config-api | Patch | | @container-images/mds-geography-api | Patch | | @container-images/mds-geography-author-api | Patch | | @container-images/mds-geography-service | Patch | | @container-images/mds-jurisdiction-api | Patch | | @container-images/mds-policy-author-api | Patch | | @container-images/mds-policy-service | Patch | | @container-images/mds-transaction-api | Patch | | @container-images/mds-collector-api | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR