Repository navigation
fix: remove catalog validation from ListColumns method for databricks - #464
Merged
Merged
Conversation
🔒 Scanned for secrets using gitleaks 8.28.0
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #464 +/- ##
==========================================
+ Coverage 84.54% 84.57% +0.02%
==========================================
Files 96 96
Lines 4343 4337 -6
==========================================
- Hits 3672 3668 -4
+ Misses 505 504 -1
+ Partials 166 165 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
am6010
marked this pull request as ready for review
March 27, 2026 15:58
atzoum
approved these changes
Mar 31, 2026
Merged
atzoum
pushed a commit
that referenced
this pull request
Apr 3, 2026
🤖 I have created a release *beep* *boop* --- ## [1.25.2](v1.25.1...v1.25.2) (2026-04-03) ### Bug Fixes * **redshift:** handle timetz values without timezone offset from Data API ([#466](#466)) ([8680bb8](8680bb8)) * remove catalog validation from ListColumns method for databricks ([#464](#464)) ([38b5161](38b5161)) ### Miscellaneous * **deps:** bump actions/create-github-app-token from 2.2.1 to 3.0.0 ([#458](#458)) ([595a2f8](595a2f8)) * **deps:** bump actions/download-artifact from 5.0.0 to 8.0.1 ([#457](#457)) ([897e669](897e669)) * **deps:** bump actions/setup-go from 6.2.0 to 6.3.0 ([#452](#452)) ([e0fe47f](e0fe47f)) * **deps:** bump actions/upload-artifact from 4.6.2 to 7.0.0 ([#448](#448)) ([8c39d00](8c39d00)) * **deps:** bump cloud.google.com/go/bigquery from 1.73.1 to 1.74.0 ([#451](#451)) ([8eb0b1b](8eb0b1b)) * **deps:** bump github.com/aws/aws-sdk-go-v2/config from 1.32.7 to 1.32.12 ([#460](#460)) ([efb0425](efb0425)) * **deps:** bump github.com/databricks/databricks-sql-go from 1.9.0 to 1.10.0 ([#443](#443)) ([e25c0c9](e25c0c9)) * **deps:** bump golang.org/x/crypto from 0.48.0 to 0.49.0 ([#459](#459)) ([e782b9c](e782b9c)) * **deps:** bump step-security/harden-runner from 2.14.2 to 2.16.0 ([#456](#456)) ([7a6d6bf](7a6d6bf)) * **deps:** bump the go_modules group across 1 directory with 4 updates ([#467](#467)) ([8797b7c](8797b7c)) --- 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>
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.
🔒 Scanned for secrets using gitleaks 8.28.0
Summary
Databricks'
ListColumnsmethod was validating that the requested catalog matched the current catalog, which prevented cross-database column listing. This PR removes that validation so columns can be listed from any accessible catalog, not just the one currently in use.Key Changes
ListColumnsthat comparedrelation.CatalogagainstCurrentCatalogand errored if they didn't matchListColumnswith the recently added catalog-aware APIs that support cross-catalog operationsThings to Note
db.DB.ListColumnsalready handles catalog-qualified queries correctly — the removed validation was an unnecessary restrictionLinear Ticket
PRO-5487
🤖 Generated with Claude Code