Skip to content

Commit

Permalink
[FLINK-22559][table-planner] The consumed DataType of ExecSink should…
Browse files Browse the repository at this point in the history
… only consider physical columns
  • Loading branch information
leonardBang committed May 8, 2021
1 parent f39af7e commit b2bc1f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.apache.flink.table.utils.LegacyRowResource;
import org.apache.flink.types.Row;

import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand Down Expand Up @@ -198,7 +197,6 @@ public void testSourceSinkWithKeyAndPartialValue() throws Exception {
}

@Test
@Ignore // FLINK-22559
public void testKafkaSourceSinkWithKeyAndFullValue() throws Exception {
// we always use a different topic name for each parameterized topic,
// in order to make sure the topic can be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,6 @@ private InternalTypeInfo<RowData> getInputTypeInfo() {
}

private RowType getConsumedRowType(ResolvedSchema schema) {
return (RowType) schema.toSinkRowDataType().getLogicalType();
return (RowType) schema.toPhysicalRowDataType().getLogicalType();
}
}

0 comments on commit b2bc1f4

Please sign in to comment.