joellubi commented on issue #2108:
URL: https://github.com/apache/arrow-adbc/issues/2108#issuecomment-2321145980

   @pkit Can you please share the package version(s) for which this issue 
occurred, and any other configuration you may have passed to the 
driver/connection?
   
   I failed to reproduce this using `adbc-driver-snowflake = 1.1.0`. For me it 
failed with the stack trace I would have expected it to:
   ```
   panic: arrow/array: number of columns/fields mismatch
   
   goroutine 38 [running]:
   github.com/apache/arrow/go/v17/arrow/array.NewRecord(0x1400018e480, 
{0x14000e82010, 0x1, 0x160009760?}, 0x2)
           
/Users/runner/go/pkg/mod/github.com/apache/arrow/go/[email protected]/arrow/array/record.go:151
 +0x198
   
github.com/apache/arrow/go/v17/arrow/cdata.ImportCRecordBatchWithSchema(0x14000581f80?,
 0x1400018e480)
           
/Users/runner/go/pkg/mod/github.com/apache/arrow/go/[email protected]/arrow/cdata/interface.go:131
 +0x248
   
github.com/apache/arrow/go/v17/arrow/cdata.(*nativeCRecordBatchReader).next(0x14000a9a340)
           
/Users/runner/go/pkg/mod/github.com/apache/arrow/go/[email protected]/arrow/cdata/cdata.go:997
 +0x1bc
   
github.com/apache/arrow/go/v17/arrow/cdata.(*nativeCRecordBatchReader).Next(0x14000a9a340)
           
/Users/runner/go/pkg/mod/github.com/apache/arrow/go/[email protected]/arrow/cdata/cdata.go:956
 +0x20
   
github.com/apache/arrow-adbc/go/adbc/driver/snowflake.readRecords({0x161bd3558, 
0x140005d0aa0}, {0x108fb3898, 0x14000a9a340}, 0x14000118840)
           
/Users/runner/work/arrow-adbc/arrow-adbc/adbc/go/adbc/driver/snowflake/bulk_ingestion.go:315
 +0x78
   
github.com/apache/arrow-adbc/go/adbc/driver/snowflake.(*statement).ingestStream.func3()
           
/Users/runner/work/arrow-adbc/arrow-adbc/adbc/go/adbc/driver/snowflake/bulk_ingestion.go:249
 +0x34
   golang.org/x/sync/errgroup.(*Group).Go.func1()
           
/Users/runner/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78 +0x58
   created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 17
           
/Users/runner/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x98
   Abort trap: 6
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to