Repository navigation
Conversation
Power Query's Navigator opens a connection and immediately calls SQLTables with wildcard catalog/schema arguments. GetFilteredProjectIds answers that by enumerating every project the authenticated principal can reach via the projects.list REST API, then listing datasets for each one. In a large organization the principal can typically see far more projects than it uses. #1241 made that enumeration tolerate projects it cannot read, so the Navigator tree now builds, but it still contacts every visible project: on one enterprise account it takes about 90 seconds before the Navigator appears. #1627 and #1632 avoid enumeration when a concrete catalog is known, but the Navigator's opening call passes SQL_ALL_CATALOGS, so neither applies to that first load. Add an AllowedProjects DSN option naming the projects to expose. When set, GetFilteredProjectIds filters that list and skips projects.list entirely. The existing filter semantics are preserved: entries are matched against the catalog argument with the same LIKE pattern / SQL_ATTR_METADATA_ID rules used elsewhere. AllowedProjects and AdditionalProjects stay orthogonal and composable: if both are set, enumeration starts from the allowlist and still appends the AdditionalProjects ids on top. The setting is exposed in the Advanced Options dialog as a single comma-separated text field, following the MaximumBytesBilled field from #1672. To fit it within the existing dialog height, the rows below Max Retries are respaced to a uniform 25px and the Additional projects box is reduced to the height of the Query properties box. Tests: unit coverage for FilterAllowedProjects and ALLOWEDPROJECTS parsing, a dialog round-trip test, and an integration test asserting that a project the principal can reach but did not allow-list is absent from SQLTables.
…exact catalog filters in SQLTables
…iver form and prompt (#1690)
Merged
4 of 7 tasks
This branch was successfully deployed
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.
No description provided.