Skip to content

Commit da101e8

Browse files
committed
materialize-motherduck: use NewCountingEncoder's gzip=true arg
1 parent 8b57397 commit da101e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

materialize-motherduck/staged_file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (f *stagedFile) start() {
7878
func (f *stagedFile) newFile(ctx context.Context) {
7979
r, w := io.Pipe()
8080

81-
f.encoder = sql.NewCountingEncoder(w)
81+
f.encoder = sql.NewCountingEncoder(w, true)
8282

8383
group, groupCtx := errgroup.WithContext(ctx)
8484
f.group = group

0 commit comments

Comments
 (0)