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(go/adbc/driver/snowflake): add support for ExecuteSchema #1262

Merged
merged 3 commits into from
Nov 6, 2023

Conversation

CurtHagenlocher
Copy link
Contributor

@CurtHagenlocher CurtHagenlocher commented Nov 6, 2023

Fixes #1254.

@@ -236,15 +236,15 @@ func (s *SnowflakeQuirks) SampleTableSchemaMetadata(tblName string, dt arrow.Dat
return arrow.Metadata{}
}

func createTempSchema(uri string) string {
func createTempSchema(database string, uri string) string {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is unrelated test cleanup.

go/adbc/go.sum Outdated Show resolved Hide resolved
Comment on lines 587 to 591
// ExecuteQuery executes the current query or prepared statement
// and returnes a RecordReader for the results along with the number
// of rows affected if known, otherwise it will be -1.
//
// This invalidates any prior result sets on this statement.
Copy link
Member

Choose a reason for hiding this comment

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

nit: docstring is out of sync (IMO, it's not necessary here since you would only use it through the interface)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It felt inconsistent with the other functions not to include it (assuming, ahem, I'd remembered to edit it...).

@lidavidm lidavidm added this to the ADBC Libraries 0.9.0 milestone Nov 6, 2023
@lidavidm lidavidm merged commit b3ffef4 into apache:main Nov 6, 2023
34 checks passed
vleslief-ms pushed a commit to vleslief-ms/arrow-adbc that referenced this pull request Nov 9, 2023
@CurtHagenlocher CurtHagenlocher deleted the dev/curth/SchemaOnly branch November 10, 2023 14:05
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.

go/adbc/driver/snowflake: add support for ExecuteSchema
2 participants