Skip to content

feat: attach all user-allowed catalogs by default #12

Merged
fvaleye merged 2 commits intomainfrom
fl/additional-catalogs
Apr 23, 2026
Merged

feat: attach all user-allowed catalogs by default #12
fvaleye merged 2 commits intomainfrom
fl/additional-catalogs

Conversation

@fvaleye
Copy link
Copy Markdown
Contributor

@fvaleye fvaleye commented Apr 22, 2026

Summary

Following this PR, opens the FlightSQL session without binding it to a single catalog. The server attaches every catalog the authenticated user has access to when no catalog is specified, which unlocks cross-catalog queries without any extra configuration.

@fvaleye fvaleye marked this pull request as draft April 22, 2026 13:03
@fvaleye fvaleye force-pushed the fl/additional-catalogs branch from 5d817c5 to ac7eba1 Compare April 22, 2026 13:03
Copy link
Copy Markdown
Member

@utay utay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this standard in DBT? Do other adapters accept additional catalogs in some way?

@redox
Copy link
Copy Markdown
Member

redox commented Apr 22, 2026

I keep thinking we should just pass None and not attach to any catalog if you want multiple ones - so you have access to all catalogs.

@fvaleye
Copy link
Copy Markdown
Contributor Author

fvaleye commented Apr 22, 2026

I keep thinking we should just pass None and not attach to any catalog if you want multiple ones - so you have access to all catalogs.

Yes, last update from here.
By default (from dbt users), the user has access to all authorized catalogs.

@fvaleye fvaleye changed the title feat: add additional_catalogs parameter to Client feat: attach all user-allowed catalogs by default Apr 22, 2026
@fvaleye fvaleye marked this pull request as ready for review April 22, 2026 14:23
@fvaleye fvaleye merged commit dd48aa5 into main Apr 23, 2026
6 checks passed
@fvaleye fvaleye deleted the fl/additional-catalogs branch April 23, 2026 07:25
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