Skip to content

Commit

Permalink
changefeedccl: support end_time option with parquet format
Browse files Browse the repository at this point in the history
This change adds support for the `end_time` changefeed
options when using `format=parquet`. No significant code
changes were needed to enable this feature.

Closes: cockroachdb#103129
Closes: cockroachdb#99028
Epic: CRDB-27372
Release note (enterprise change): Changefeeds now officially
support the parquet format at specificiation version 2.6.
It is only usable with the cloudstorage sink.

The syntax to use parquet is like the following:
`CREATE CHANGEFEED FOR foo INTO `...` WITH format=parquet`

It supports all standard changefeed options and features
including CDC transformations, except it does not support the
`topic_in_value` option.
  • Loading branch information
jayshrivastava committed Jun 21, 2023
1 parent 60f169f commit b5f09af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ccl/changefeedccl/changefeedbase/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ var InitialScanOnlyUnsupportedOptions OptionsSet = makeStringSet(OptEndTime, Opt

// ParquetFormatUnsupportedOptions is options that are not supported with the
// parquet format.
var ParquetFormatUnsupportedOptions OptionsSet = makeStringSet(OptEndTime, OptTopicInValue)
var ParquetFormatUnsupportedOptions OptionsSet = makeStringSet(OptTopicInValue)

// AlterChangefeedUnsupportedOptions are changefeed options that we do not allow
// users to alter.
Expand Down

0 comments on commit b5f09af

Please sign in to comment.