Repository navigation
fix: destination namespaces api to contain tablename filter - #6388
Merged
Merged
Conversation
achettyiitr
requested review from
RanjeetMishra,
shekhar-rudder and
vyeshwanth
September 29, 2025 09:03
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6388 +/- ##
=======================================
Coverage 77.75% 77.76%
=======================================
Files 529 529
Lines 70344 70343 -1
=======================================
+ Hits 54697 54700 +3
+ Misses 12823 12817 -6
- Partials 2824 2826 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
achettyiitr
commented
Sep 30, 2025
| db, ctx := setupDB(t), context.Background() | ||
| now := timeutil.Now() | ||
| r := repo.NewWHSchemas(db, conf, logger.NOP) | ||
| now := time.Date(2023, 1, 1, 0, 0, 0, 0, time.UTC) |
Member
Author
There was a problem hiding this comment.
No changes in tests, just refactored it.
| namespace | ||
| FROM ` + whSchemaTableName + ` | ||
| WHERE destination_id = $1 | ||
| WHERE destination_id = $1 AND table_name = '' |
Member
There was a problem hiding this comment.
fix: -> If I understand this change correctly, it is a performance fix and not correctness fix, rt?
Member
Author
There was a problem hiding this comment.
It's a bug. When this API got introduced, table level schemas were also happening and this filter got missed.
achettyiitr
force-pushed
the
fix.destination-namespaces-api
branch
2 times, most recently
from
October 17, 2025 07:40
14e2bc6 to
5a1f97a
Compare
achettyiitr
requested review from
krishna2020
and removed request for
vyeshwanth
October 17, 2025 07:41
achettyiitr
force-pushed
the
fix.destination-namespaces-api
branch
from
October 17, 2025 11:04
5a1f97a to
6ad5726
Compare
shekhar-rudder
approved these changes
Oct 21, 2025
RanjeetMishra
approved these changes
Oct 21, 2025
This was referenced Oct 27, 2025
Merged
mihir20
pushed a commit
that referenced
this pull request
Oct 27, 2025
🤖 I have created a release *beep* *boop* --- ## [1.62.0-rc.1](v1.61.0...v1.62.0-rc.1) (2025-10-27) ### Features * introduce circuit breakers for oauth ([#6411](#6411)) ([b9ed172](b9ed172)) ### Bug Fixes * deltalake fetch table attributes ([#6455](#6455)) ([49907dc](49907dc)) * destination namespaces api to contain tablename filter ([#6388](#6388)) ([61cffa4](61cffa4)) * repo cardinatlity for warehouse queries ([#6451](#6451)) ([ac9adc4](ac9adc4)) ### Miscellaneous * always emit transformer_outgoing_request_latency metric ([#6454](#6454)) ([33b742c](33b742c)) * avoid scanning all schemas and use limit 1 ([#6396](#6396)) ([8bb69ee](8bb69ee)) * bump rudder-go-kit to 0.63.4 ([#6457](#6457)) ([d499351](d499351)) * cleanup Avoid using beigntx within repo package and instead use WithTx. ([#6389](#6389)) ([21b7129](21b7129)) * improve cron tracker ([#6397](#6397)) ([82407f4](82407f4)) * improve logging reporting event name trimming ([#6424](#6424)) ([ce4d56d](ce4d56d)) * improve pending uploads ([#6399](#6399)) ([717f6a6](717f6a6)) * improve populate table level schemas ([#6395](#6395)) ([a0aa222](a0aa222)) * improve table level schemas ([#6398](#6398)) ([a2d3786](a2d3786)) * remove monitor database ([#6393](#6393)) ([a02c218](a02c218)) * remove unused oauthV2Enabled logger ([#6465](#6465)) ([bf55861](bf55861)) * retaining both pickup query throttling configuration key options ([#6453](#6453)) ([a51f395](a51f395)) * **router:** pickup query throttling should be enabled by default ([#6447](#6447)) ([ff18dde](ff18dde)) * security improvements ([#6430](#6430)) ([ce4d56d](ce4d56d)) * simplify pickup throttling configuration ([#6460](#6460)) ([7fb035b](7fb035b)) * unused dependencies ([#6392](#6392)) ([8e585b7](8e585b7)) * use org-wide docker registry mirror configuration ([#6444](#6444)) ([f714b32](f714b32)) * using go-kit maxprocs ([#6433](#6433)) ([674ab55](674ab55)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
mihir20
pushed a commit
that referenced
this pull request
Oct 28, 2025
🤖 I have created a release *beep* *boop* --- ## [1.62.0](v1.61.0...v1.62.0) (2025-10-27) ### Features * introduce circuit breakers for oauth ([#6411](#6411)) ([b9ed172](b9ed172)) ### Bug Fixes * deltalake fetch table attributes ([#6455](#6455)) ([49907dc](49907dc)) * destination namespaces api to contain tablename filter ([#6388](#6388)) ([61cffa4](61cffa4)) * repo cardinatlity for warehouse queries ([#6451](#6451)) ([ac9adc4](ac9adc4)) ### Miscellaneous * always emit transformer_outgoing_request_latency metric ([#6454](#6454)) ([33b742c](33b742c)) * avoid scanning all schemas and use limit 1 ([#6396](#6396)) ([8bb69ee](8bb69ee)) * bump rudder-go-kit to 0.63.4 ([#6457](#6457)) ([d499351](d499351)) * cleanup Avoid using beigntx within repo package and instead use WithTx. ([#6389](#6389)) ([21b7129](21b7129)) * improve cron tracker ([#6397](#6397)) ([82407f4](82407f4)) * improve logging reporting event name trimming ([#6424](#6424)) ([ce4d56d](ce4d56d)) * improve pending uploads ([#6399](#6399)) ([717f6a6](717f6a6)) * improve populate table level schemas ([#6395](#6395)) ([a0aa222](a0aa222)) * improve table level schemas ([#6398](#6398)) ([a2d3786](a2d3786)) * remove monitor database ([#6393](#6393)) ([a02c218](a02c218)) * remove unused oauthV2Enabled logger ([#6465](#6465)) ([bf55861](bf55861)) * retaining both pickup query throttling configuration key options ([#6453](#6453)) ([a51f395](a51f395)) * **router:** pickup query throttling should be enabled by default ([#6447](#6447)) ([ff18dde](ff18dde)) * security improvements ([#6430](#6430)) ([ce4d56d](ce4d56d)) * simplify pickup throttling configuration ([#6460](#6460)) ([7fb035b](7fb035b)) * unused dependencies ([#6392](#6392)) ([8e585b7](8e585b7)) * use org-wide docker registry mirror configuration ([#6444](#6444)) ([f714b32](f714b32)) * using go-kit maxprocs ([#6433](#6433)) ([674ab55](674ab55)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
table_nameas well for the Destination Namespaces query, as there will be too many entries present.Linear Ticket
Security