You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/07/05 03:18:01 UTC

[GitHub] [flink-table-store] LadyForest commented on a diff in pull request #191: [FLINK-26439] Introduce sequence.field to custom the order of the records

LadyForest commented on code in PR #191:
URL: https://github.com/apache/flink-table-store/pull/191#discussion_r913354250


##########
flink-table-store-core/src/main/java/org/apache/flink/table/store/file/FileStoreOptions.java:
##########
@@ -155,6 +156,14 @@ public class FileStoreOptions implements Serializable {
                             "Open file cost of a source file. It is used to avoid reading"
                                     + " too many files with a source split, which can be very slow.");
 
+    public static final ConfigOption<String> SEQUENCE_FIELD =
+            ConfigOptions.key("sequence.field")
+                    .stringType()
+                    .noDefaultValue()
+                    .withDescription(
+                            "The field that generates the sequence number for primary key table,"
+                                    + " the sequence number determines which data is the most recent.");
+
     private final Configuration options;
 
     public static Set<ConfigOption<?>> allOptions() {

Review Comment:
   add to `allOptions`?



-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org