Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
joellubi committed Jan 12, 2024
1 parent 611a03e commit 8981adc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/adbc/driver/snowflake/bulk_ingestion.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,6 @@ func uploadStream(ctx context.Context, cn snowflakeConn, r io.Reader, name strin
putQuery := fmt.Sprintf(putQueryTmpl, name)
putQuery = strings.ReplaceAll(putQuery, "\\", "\\\\") // Windows compatibility

// if name == "10.parquet" {
// log.Println("the error occurred")
// return fmt.Errorf("upload error")
// }
_, err := cn.ExecContext(gosnowflake.WithFileStream(ctx, r), putQuery, nil)
if err != nil {
return err
Expand Down

0 comments on commit 8981adc

Please sign in to comment.