-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
changefeedccl: support the resolved option with format=parquet #104283
Conversation
bc6ff2d
to
1ac4580
Compare
resolved
option with format=parquetThere 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.
I think we should have a short rel note.
Reviewed 9 of 9 files at r1.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @jayshrivastava and @samiskin)
pkg/ccl/changefeedccl/parquet_sink_cloudstorage.go
line 149 at r1 (raw file):
var writer *parquet.Writer writer, err = newParquetWriter(sch, &buf, parquetSink.wrapped.testingKnobs)
can we check -- when we construct this sink -- if resolved option is set, and if so, construct writer once?
pkg/ccl/changefeedccl/parquet_test.go
line 176 at r1 (raw file):
sqlDB.Exec(t, `CREATE TABLE foo (a INT PRIMARY KEY)`) foo := feed(t, f, `CREATE CHANGEFEED FOR foo WITH format=parquet, resolved`)
you probably want to specify resolved= some small value... otherwise, this test would run for 30 seconds or so?
1ac4580
to
228aee6
Compare
Previously, `format=parquet` and `resolved` could not be used together when running changefeeds. This change adds support for this. The release note is being left intentionally blank for a future commit. Informs: cockroachdb#103129 Release note: None
8720056
to
07101ad
Compare
bors r=miretskiy |
Build failed (retrying...): |
Build succeeded: |
Previously,
format=parquet
andresolved
could not be usedtogether when running changefeeds. This change adds support for
this.
The release note is being left intentionally blank for a future
commit.
Informs: #103129
Release note: None