This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new dd580774c fix(go/adbc/driver/snowflake): fix unit tests (#3377)
dd580774c is described below

commit dd580774cb16e8157178a10c58d96c25bb8bab18
Author: Matt Topol <[email protected]>
AuthorDate: Sat Aug 30 02:41:24 2025 -0400

    fix(go/adbc/driver/snowflake): fix unit tests (#3377)
    
    Fixing the `GetMetadataTableSchema` unit test in the Snowflake driver to
    eliminate some flakiness
---
 go/adbc/driver/snowflake/connection.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/go/adbc/driver/snowflake/connection.go 
b/go/adbc/driver/snowflake/connection.go
index 96c01ed0e..6ed0e1fa8 100644
--- a/go/adbc/driver/snowflake/connection.go
+++ b/go/adbc/driver/snowflake/connection.go
@@ -680,6 +680,7 @@ func (c *connectionImpl) GetTableSchema(ctx 
context.Context, catalog *string, db
        for {
                if err = rows.Next(dest); err != nil {
                        if errors.Is(err, io.EOF) {
+                               err = nil // don't return the io.EOF
                                break
                        }
                        err = errToAdbcErr(adbc.StatusIO, err)

Reply via email to