Repository navigation
feat(warehouse): support jsonPaths for gcs datalake - #7333
krishna2020 merged 7 commits into
Conversation
|
👋 I'm rudder-devbox. I opened this PR from a Linear ticket. Mention |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7333 +/- ##
==========================================
- Coverage 80.33% 80.26% -0.07%
==========================================
Files 612 612
Lines 68676 68676
==========================================
- Hits 55169 55121 -48
- Misses 10262 10315 +53
+ Partials 3245 3240 -5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
e739cc1 to
f03ded6
Compare
|
I inspected the failed job logs. The root cause is infrastructure, not a code/test failure in the GCS Datalake jsonPaths change:
The later |
|
@rudder-devbox Let's add integration test as well warehouse/integrations/datalake/datalake_test.go for jEvents flow JSON paths. |
|
Added GCS Datalake jEvents integration coverage in Validation passed for |
|
Knowledge distillation completed |
|
@rudder-devbox Fix lint issue. |
|
I fixed the lint failure and pushed the change. The failed I removed the Validation passed:
Commit: 8876a9f |
|
Knowledge distillation completed |
|
Removed the redundant Validation passed: |
|
Knowledge distillation completed |
🤖 I have created a release *beep* *boop* --- ## [1.86.0-rc.1](v1.85.0...v1.86.0-rc.1) (2026-09-07) ### Features * backend config v2-to-v1 mapper ([#7315](#7315)) ([887f6d2](887f6d2)) * **core:** capture the final recorded error for failed rETL records ([#7295](#7295)) ([f4dc4d9](f4dc4d9)) * per-destination visibility at the destination-filter boundary ([#7283](#7283)) ([3d83f02](3d83f02)) * user_suppression counter via suppressed dummy jobs ([#7325](#7325)) ([77d3d37](77d3d37)) * **warehouse:** support jsonPaths for gcs datalake ([#7333](#7333)) ([e714140](e714140)) ### Bug Fixes * rsources failed-records pagination drops records across failed-key boundaries ([#7329](#7329)) ([0a50439](0a50439)) * **warehouse:** stop logging full schemas on table-level schema mismatch ([#7339](#7339)) ([f244c14](f244c14)) * **warehouse:** upgrade clickhouse v2 driver ([#7332](#7332)) ([e2c5cb9](e2c5cb9)) ### Miscellaneous * **ci:** remove unused Snyk policy file (SEC-409) ([#7317](#7317)) ([d60b3c6](d60b3c6)) * make reporting 413 handling unconditional ([#7313](#7313)) ([d2474e9](d2474e9)) * moving pyt contract tests ([#7327](#7327)) ([8316af2](8316af2)) * **processor:** pipeline attribution in processor stats ([#7326](#7326)) ([3e97f7c](3e97f7c)) * skip consent and connection-mode filtering for replays of non-existent connections ([#7323](#7323)) ([d2474e9](d2474e9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [1.86.0](v1.85.0...v1.86.0) (2026-09-07) ### Features * backend config v2-to-v1 mapper ([#7315](#7315)) ([887f6d2](887f6d2)) * **core:** capture the final recorded error for failed rETL records ([#7295](#7295)) ([f4dc4d9](f4dc4d9)) * per-destination visibility at the destination-filter boundary ([#7283](#7283)) ([3d83f02](3d83f02)) * user_suppression counter via suppressed dummy jobs ([#7325](#7325)) ([77d3d37](77d3d37)) * **warehouse:** support jsonPaths for gcs datalake ([#7333](#7333)) ([e714140](e714140)) ### Bug Fixes * rsources failed-records pagination drops records across failed-key boundaries ([#7329](#7329)) ([0a50439](0a50439)) * **warehouse:** stop logging full schemas on table-level schema mismatch ([#7339](#7339)) ([f244c14](f244c14)) * **warehouse:** upgrade clickhouse v2 driver ([#7332](#7332)) ([e2c5cb9](e2c5cb9)) ### Miscellaneous * **ci:** remove unused Snyk policy file (SEC-409) ([#7317](#7317)) ([d60b3c6](d60b3c6)) * make reporting 413 handling unconditional ([#7313](#7313)) ([d2474e9](d2474e9)) * moving pyt contract tests ([#7327](#7327)) ([8316af2](8316af2)) * **processor:** pipeline attribution in processor stats ([#7326](#7326)) ([3e97f7c](3e97f7c)) * skip consent and connection-mode filtering for replays of non-existent connections ([#7323](#7323)) ([d2474e9](d2474e9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
Description
Adds GCS Datalake to the warehouse destinations that honor destination-config
jsonPaths. Configured nested objects are marshaled into JSON strings and stored asstringcolumns, reusing the existing parquet string mapping.Tests added/updated:
GCS_DATALAKEtrack.context.traitsandtrack.properties.metadataare preserved as JSON string columns and no longer flattenedLinear Ticket
AI-1394
Security
Validation
gofmt -w processor/internal/transformer/destination_transformer/embedded/warehouse/internal/utils/utils.go processor/internal/transformer/destination_transformer/embedded/warehouse/options_test.go processor/internal/transformer/destination_transformer/embedded/warehouse/transformer_test.go && go test -count 1 -run 'TestDestinationOptions' ./processor/internal/transformer/destination_transformer/embedded/warehouseinitially timed out at 120s during package setup.go test -count 1 -run 'TestDestinationOptions' ./processor/internal/transformer/destination_transformer/embedded/warehouse→ passed.go test -count 1 -run 'TestTransformer/GCS_Datalake_jsonPaths_stores_nested_objects_as_JSON_strings' ./processor/internal/transformer/destination_transformer/embedded/warehouse→ passed.make -C /workspace/rudder-server fmt→ passed.git -C /workspace/rudder-server diff --check→ passed.go test -count 1 ./processor/internal/transformer/destination_transformer/embedded/warehouse/internal/utils/...→ passed.go test -count 1 -run 'TestDestinationOptions|TestTransformer/GCS_Datalake_jsonPaths_stores_nested_objects_as_JSON_strings' ./processor/internal/transformer/destination_transformer/embedded/warehouse→ passed.go test -count 1 ./processor/internal/transformer/destination_transformer/embedded/warehouse/...→ passed.