We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae99e55 commit 457140dCopy full SHA for 457140d
src/stream/src/from_proto/sink.rs
@@ -37,10 +37,10 @@ impl ExecutorBuilder for SinkExecutorBuilder {
37
let sink_type = SinkType::from_proto(sink_desc.get_sink_type().unwrap());
38
let mut properties = sink_desc.get_properties().clone();
39
let pk_indices = sink_desc
40
- .plan_pk
+ .downstream_pk
41
.iter()
42
- .map(|pk| pk.column_index as usize)
43
- .collect::<Vec<_>>();
+ .map(|i| *i as usize)
+ .collect_vec();
44
let schema = sink_desc.columns.iter().map(Into::into).collect();
45
// This field can be used to distinguish a specific actor in parallelism to prevent
46
// transaction execution errors
0 commit comments