Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(go/adbc/driver/snowflake): call GetObjects with null catalog at catalog depth #2194

Merged
merged 5 commits into from
Oct 2, 2024

Conversation

davidhcoe
Copy link
Contributor

This PR partially addresses #2171 by calling SHOW TERSE DATABASES if GetObjects is called with the catalog depth and a null catalog is passed.

It does not address other parts of #2171 where a catalog can be null at other depths.

@github-actions github-actions bot added this to the ADBC Libraries 15 milestone Sep 27, 2024
@davidhcoe
Copy link
Contributor Author

@zeroshade or @joellubi - can this be merged?

sql.Named("PK_QUERY_ID", pkQueryID),
sql.Named("FK_QUERY_ID", fkQueryID),
sql.Named("UNIQUE_QUERY_ID", uniqueQueryID),
sql.Named("TERSE_QUERY_ID", terseDbQueryID),
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure TERSE is the most relevant name for this query parameter. Perhaps SHOW_DB_QUERY_ID (or SHOW_TERSE_DB_QUERY_ID if you want to be more explicit), since TERSE just limits the output columns and can be used with other commands.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Member

@joellubi joellubi left a comment

Choose a reason for hiding this comment

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

LGTM. Will merge after CI workflows complete.

@joellubi joellubi merged commit 0cb51b8 into apache:main Oct 2, 2024
35 of 40 checks passed
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.

2 participants