yuzelin commented on code in PR #6933:
URL: https://github.com/apache/paimon/pull/6933#discussion_r2710770411
##########
paimon-core/src/main/java/org/apache/paimon/table/source/ValueContentRowDataRecordIterator.java:
##########
@@ -19,16 +19,32 @@
package org.apache.paimon.table.source;
import org.apache.paimon.KeyValue;
+import org.apache.paimon.data.GenericRow;
import org.apache.paimon.data.InternalRow;
+import org.apache.paimon.data.JoinedRow;
import org.apache.paimon.reader.RecordReader;
import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
/** A {@link RecordReader.RecordIterator} mapping a {@link KeyValue} to its
value. */
public class ValueContentRowDataRecordIterator extends
ResetRowKindRecordIterator {
+ public static final String KEY_VALUE_SEQUENCE_NUMBER_ENABLED =
+ "key-value.sequence_number.enabled";
+ private final boolean keyValueSequenceNumberEnabled;
+
public
ValueContentRowDataRecordIterator(RecordReader.RecordIterator<KeyValue>
kvIterator) {
+ this(kvIterator, new HashMap<>(1));
+ }
+
+ public ValueContentRowDataRecordIterator(
+ RecordReader.RecordIterator<KeyValue> kvIterator, Map<String,
String> schemaOptions) {
Review Comment:
I think a boolean value `sequenceNumberEnabled` is enough?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]