Skip to content

fix(warehouse): cap deltalake validation schema describes - #7444

Merged
shekhar-rudder merged 1 commit into
masterfrom
harness/RUD-3182-fix-warehouse-cap-deltalake-val-6a554e0e
Oct 6, 2026
Merged

shekhar-rudder merged 1 commit into
masterfrom
harness/RUD-3182-fix-warehouse-cap-deltalake-val-6a554e0e

Conversation

@rudder-devbox

@rudder-devbox rudder-devbox Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Description

Cap Delta Lake fetch-schema credential validation to a configurable number of tables, avoiding serial DESCRIBE QUERY TABLE calls across large namespaces. The new Warehouse.deltalake.validationMaxTables setting defaults to 5, while 0 restores exhaustive validation. Production FetchSchema remains uncapped.

Added SQL-mock coverage proving validation respects the cap, production fetching still returns every table, and a zero cap describes every table.

Validation:

  • go test -count 1 -run 'TestFetchSchemaValidationTableLimit' ./warehouse/integrations/deltalake — passed
  • go test -count 1 ./warehouse/integrations/deltalake — passed
  • go vet ./warehouse/integrations/deltalake — passed
  • go vet ./... — passed
  • go build ./... — passed
  • git diff --check — passed
  • Inner verification reran go test ./warehouse/integrations/deltalake -run '^TestFetchSchemaValidationTableLimit$' -count=1 (exit 0, ok ... 0.138s), go test ./warehouse/integrations/deltalake -count=1 (exit 0, ok ... 0.149s), and git diff --check (exit 0).

⚠️ Known Issues

  • Live integration verification was skipped because rudder-server is SHA-pinned in the local mini stack, so the edited source cannot be loaded there. No Databricks credentials or large-table namespace were available; the planned manual credential-validation and real-sync smoke remains a follow-up.

Linear Ticket

RUD-3182

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

@rudder-devbox

rudder-devbox Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor Author

👋 I'm rudder-devbox. I opened this PR from a Linear ticket.

Mention @devbox or @rudder-devbox and I'll act on it — on a top-level PR comment,
in a review summary, or on an inline comment on the diff. Without a mention I won't see it.

@shekhar-rudder
shekhar-rudder marked this pull request as ready for review September 30, 2026 10:02
@rudder-devbox

rudder-devbox Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor Author

I couldn’t fix this failure in source because the logs show an external CI credential failure, not a code regression. Delta Lake’s Validation and Fetch_Schema suites passed, while its only failure was TestIntegration/Event_flow: AWS STS GetSessionToken returned HTTP 403 InvalidClientTokenId (“The security token included in the request is invalid”). The same run also shows Redshift and Snowflake S3 uploads failing with InvalidAccessKeyId, and TestGlueSchemaRepositoryRoundTrip failing with Glue UnrecognizedClientException for an invalid security token.

The branch is synchronized and clean, so I made no source changes or commit. CI’s AWS credentials need to be refreshed before the failed jobs can succeed.

@shekhar-rudder
shekhar-rudder force-pushed the harness/RUD-3182-fix-warehouse-cap-deltalake-val-6a554e0e branch from 1997389 to dc663fb Compare October 6, 2026 10:48
@rudder-devbox

rudder-devbox Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

I couldn’t fix this failure in repository code because the log shows transient container-registry infrastructure throttling. services/streammanager/kafka TestNewProducer/ok_ssh failed during its Docker-backed resource setup with API error (500): toomanyrequests: retry-after: 909.268µs, allowed: 44000/minute; the subsequent missing mock call and dockertest.(*Pool).Purge nil-pointer panic are cleanup fallout after setup failed.

The PR branch is synchronized and clean at dc663fb2c92607b9effbdb50bd4368a3b7e5864e. I made no source change or commit because retrying after the registry limit clears is the appropriate resolution.

@rudder-devbox

rudder-devbox Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

Knowledge distillation completed

@codecov

codecov Bot commented Oct 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.93%. Comparing base (f91747b) to head (dc663fb).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7444      +/-   ##
==========================================
+ Coverage   84.54%   84.93%   +0.38%     
==========================================
  Files         623      623              
  Lines       62071    62079       +8     
==========================================
+ Hits        52481    52727     +246     
+ Misses       9587     9349     -238     
  Partials        3        3              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shekhar-rudder
shekhar-rudder merged commit d119779 into master Oct 6, 2026
111 of 113 checks passed
@shekhar-rudder
shekhar-rudder deleted the harness/RUD-3182-fix-warehouse-cap-deltalake-val-6a554e0e branch October 6, 2026 11:54
This was referenced Oct 12, 2026
mihir20 pushed a commit that referenced this pull request Oct 12, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.90.0-rc.1](v1.89.0...v1.90.0-rc.1)
(2026-10-12)


### Features

* **processor:** add source_out reporting metric
([#7435](#7435))
([909fba9](909fba9))
* **processor:** allow disabling event schemas v2 per source
([#7429](#7429))
([a8c12b2](a8c12b2))
* **processor:** report dest_transformer diff rows for multiplexing
destination transformations
([#7446](#7446))
([cd95c32](cd95c32))
* **processor:** report dest_transformer succeeded for destinations
without a destination transformation
([#7445](#7445))
([21f7e41](21f7e41))
* **processor:** report user_transformer succeeded for destinations
without a user transformation
([#7440](#7440))
([f424257](f424257))
* **router:** mask live events destination credentials
([#7460](#7460))
([5fa5fe2](5fa5fe2))
* **warehouse:** add Microsoft Fabric destination
([#7441](#7441))
([74940c2](74940c2))


### Bug Fixes

* **batchrouter:** do not abort warehouse jobs on a zero failure
timestamp
([#7426](#7426))
([506f6d5](506f6d5))
* **batchrouter:** recover snowpipe streaming channels for tables
dropped externally
([#7434](#7434))
([93cd81d](93cd81d))
* **destination:** encode Lytics bulk upload URL values
([#7433](#7433))
([08e6937](08e6937))
* **destination:** retry bqstream transport failures
([#7464](#7464))
([cd3dc3e](cd3dc3e))
* **warehouse:** cap deltalake validation schema describes
([#7444](#7444))
([d119779](d119779))
* **warehouse:** keep snowflake copy credentials out of logs
([#7442](#7442))
([f91747b](f91747b))
* **warehouse:** set explicit lineSep for deltalake csv copy
([#7455](#7455))
([cc22d18](cc22d18))


### Miscellaneous

* migrate self-hosted arm64 docker build runners to gha-runner-scale-set
([#7425](#7425))
([5cdffde](5cdffde))
* **processor:** retire the destination-filter reorder, dedup and
gw_ingested reporting flags
([#7450](#7450))
([1040511](1040511))
* pull openapi-generator through the ECR pull-through cache
([#7449](#7449))
([6e9f920](6e9f920))

---
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>
mihir20 pushed a commit that referenced this pull request Oct 13, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.90.0](v1.89.0...v1.90.0)
(2026-10-12)


### Features

* **processor:** add source_out reporting metric
([#7435](#7435))
([909fba9](909fba9))
* **processor:** allow disabling event schemas v2 per source
([#7429](#7429))
([a8c12b2](a8c12b2))
* **processor:** report dest_transformer diff rows for multiplexing
destination transformations
([#7446](#7446))
([cd95c32](cd95c32))
* **processor:** report dest_transformer succeeded for destinations
without a destination transformation
([#7445](#7445))
([21f7e41](21f7e41))
* **processor:** report user_transformer succeeded for destinations
without a user transformation
([#7440](#7440))
([f424257](f424257))
* **router:** mask live events destination credentials
([#7460](#7460))
([5fa5fe2](5fa5fe2))
* **warehouse:** add Microsoft Fabric destination
([#7441](#7441))
([74940c2](74940c2))


### Bug Fixes

* **batchrouter:** do not abort warehouse jobs on a zero failure
timestamp
([#7426](#7426))
([506f6d5](506f6d5))
* **batchrouter:** recover snowpipe streaming channels for tables
dropped externally
([#7434](#7434))
([93cd81d](93cd81d))
* **destination:** encode Lytics bulk upload URL values
([#7433](#7433))
([08e6937](08e6937))
* **destination:** retry bqstream transport failures
([#7464](#7464))
([cd3dc3e](cd3dc3e))
* **warehouse:** cap deltalake validation schema describes
([#7444](#7444))
([d119779](d119779))
* **warehouse:** keep snowflake copy credentials out of logs
([#7442](#7442))
([f91747b](f91747b))
* **warehouse:** set explicit lineSep for deltalake csv copy
([#7455](#7455))
([cc22d18](cc22d18))


### Miscellaneous

* migrate self-hosted arm64 docker build runners to gha-runner-scale-set
([#7425](#7425))
([5cdffde](5cdffde))
* **processor:** retire the destination-filter reorder, dedup and
gw_ingested reporting flags
([#7450](#7450))
([1040511](1040511))
* pull openapi-generator through the ECR pull-through cache
([#7449](#7449))
([6e9f920](6e9f920))

---
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>
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.

3 participants