bithw1 opened a new issue, #12002:
URL: https://github.com/apache/hudi/issues/12002

   I am using Hudi 0.15, ORDERING_FIELD  has been deprecated with 
PRECOMBINE_FIELD_NAME, 
   
   ```
     /** @deprecated Use {@link HoodieWriteConfig#PRECOMBINE_FIELD_NAME} and 
its methods instead */
     @Deprecated
     public static final ConfigProperty<String> ORDERING_FIELD = ConfigProperty
         .key(PAYLOAD_ORDERING_FIELD_PROP_KEY)
         .defaultValue("ts")
         .markAdvanced()
         .withDocumentation("Table column/field name to order records that have 
the same key, before "
             + "merging and writing to storage.");
   
   ```
   
   
   but HoodieStreamer still use `--source-ordering-field`  as parameter, I 
think HoodieStreamer should also be deprecated --source-ordering-field and 
introduce a new parameter to honor precombine field.
   
   ```
       @Parameter(names = {"--source-ordering-field"}, description = "Field 
within source record to decide how"
           + " to break ties between records with same key in input data. 
Default: 'ts' holding unix timestamp of record")
       public String sourceOrderingField = "ts";
   
   ```
   
   
   
   
   
   


-- 
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]

Reply via email to