Skip to content

perf(gdrive): optimize trip log exports with columnar JSON#164

Merged
tzebrowski merged 2 commits intomasterfrom
feat/optimize-logs-format
Apr 4, 2026
Merged

perf(gdrive): optimize trip log exports with columnar JSON#164
tzebrowski merged 2 commits intomasterfrom
feat/optimize-logs-format

Conversation

@tzebrowski
Copy link
Copy Markdown
Owner

  • Refactored TripLogTransformer to generate a Columnar Series-based JSON format instead of a flat row-based array. This eliminates redundant keys and string repetitions, further shrinking the payload.
  • Introduced a signal_dictionary to the JSON schema. Time-series data is now keyed by raw numeric PIDs to guarantee consistency across app language changes, while the dictionary provides the translated names.
  • Updated TripLogTransformerTest assertions to validate the new schema and dictionary mapping.

- Refactored `TripLogTransformer` to generate a Columnar Series-based JSON format instead of a flat row-based array. This eliminates redundant keys and string repetitions, further shrinking the payload.
- Introduced a `signal_dictionary` to the JSON schema. Time-series data is now keyed by raw numeric PIDs to guarantee consistency across app language changes, while the dictionary provides the translated names.
- Updated `TripLogTransformerTest` assertions to validate the new schema and dictionary mapping.
@tzebrowski tzebrowski merged commit e1116ca into master Apr 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant