-
Notifications
You must be signed in to change notification settings - Fork 97
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
test fixing with a side of BigQuery features #673
Conversation
@@ -274,7 +274,7 @@ func (s *SnowflakeAvroSyncMethod) writeToAvroFile( | |||
) (int, string, error) { | |||
var numRecords int | |||
if s.config.StagingPath == "" { | |||
ocfWriter := avro.NewPeerDBOCFWriterWithCompression(s.connector.ctx, stream, avroSchema) | |||
ocfWriter := avro.NewPeerDBOCFWriter(s.connector.ctx, stream, avroSchema, avro.CompressZstd, qvalue.QDWHTypeSnowflake) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
line is 126 characters (lll)
28b155e
to
97ef4d8
Compare
@@ -274,7 +274,7 @@ func (s *SnowflakeAvroSyncMethod) writeToAvroFile( | |||
) (int, string, error) { | |||
var numRecords int | |||
if s.config.StagingPath == "" { | |||
ocfWriter := avro.NewPeerDBOCFWriterWithCompression(s.connector.ctx, stream, avroSchema) | |||
ocfWriter := avro.NewPeerDBOCFWriter(s.connector.ctx, stream, avroSchema, avro.CompressZstd, qvalue.QDWHTypeSnowflake) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
line is 126 characters (lll)
e681cef
to
aa97878
Compare
12149f6
to
a9b982f
Compare
@@ -21,31 +21,32 @@ type QRecordBatch struct { | |||
// Equals checks if two QRecordBatches are identical. | |||
func (q *QRecordBatch) Equals(other *QRecordBatch) bool { | |||
if other == nil { | |||
fmt.Printf("other is nil") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove some of these logs and revert the rest to log.Infof
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log.Infof doesn't show up in the logs sometimes when it fails
@heavycrystal flow tests ran in 1 minute which seems wrong |
Seems to be cached from when I rebased, previous run took 25+ mins |
Tests have now been unparallelized, will parallelize later through a different mechanism.
BigQuery supports local staging, using it for all tests now for better cleanup.
Added option to compress via Snappy and Deflate along with some cleanup, doesn't work for BQ yet