[MINOR] Tweak change log more as FULL for flink streaming source (#3466)
This commit is contained in:
@@ -198,7 +198,6 @@ public class HoodieTableSource implements
|
||||
@Override
|
||||
public ChangelogMode getChangelogMode() {
|
||||
return conf.getBoolean(FlinkOptions.READ_AS_STREAMING)
|
||||
&& !conf.getBoolean(FlinkOptions.CHANGELOG_ENABLED)
|
||||
? ChangelogModes.FULL
|
||||
// when all the changes are persisted or read as batch,
|
||||
// use INSERT mode.
|
||||
|
||||
@@ -25,10 +25,14 @@ import org.apache.flink.table.data.RowData;
|
||||
import org.apache.flink.table.types.logical.LogicalType;
|
||||
import org.apache.flink.table.types.logical.RowType;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Utilities to project the row data with given positions.
|
||||
*/
|
||||
public class RowDataProjection {
|
||||
public class RowDataProjection implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final RowData.FieldGetter[] fieldGetters;
|
||||
|
||||
private RowDataProjection(LogicalType[] types, int[] positions) {
|
||||
|
||||
Reference in New Issue
Block a user