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

feat: implement virtual catalog for snowflake #874

Merged
merged 3 commits into from
Apr 15, 2023

Conversation

vrongmeal
Copy link
Contributor

Also fix a bug in snowflake row iterator where it panics when the first batch has 0 rows (i.e., it's essentially empty).

@vrongmeal vrongmeal requested a review from scsmithr April 14, 2023 18:48
Copy link
Member

@scsmithr scsmithr left a comment

Choose a reason for hiding this comment

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

LGTM after lint fix

let res = self
.conn
.query(
"SELECT schema_name FROM information_schema.schemata".to_string(),
Copy link
Member

Choose a reason for hiding this comment

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

Here's hoping there's not some crazy minimum like in BigQuery.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I checked, couldn't find anything like that. Though, it does mention to "optimize queries" to return results else for too much data it might just error 😛

Also fix a bug in snowflake row iterator where it panics when the first
batch has 0 rows (i.e., it's essentially empty).

Signed-off-by: Vaibhav <[email protected]>
@vrongmeal vrongmeal force-pushed the vrongmeal/snowflake-virtual-catalog branch from 1290158 to c12a7e5 Compare April 14, 2023 19:24
@vrongmeal vrongmeal enabled auto-merge (squash) April 14, 2023 19:25
@vrongmeal vrongmeal merged commit e18633e into main Apr 15, 2023
@vrongmeal vrongmeal deleted the vrongmeal/snowflake-virtual-catalog branch April 15, 2023 01: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.

2 participants