prathik-onehouse opened a new issue, #20681:
URL: https://github.com/apache/hudi/issues/20681

   ### Bug Description
   
   **What happened:**
   
   A 1.x writer creates a table below version 9 with several ordering fields, 
for example `hoodie.table.ordering.fields=ts,seq` with 
`hoodie.write.table.version` 6 or 8. The readers those versions target, Hudi 
0.x for version 6 and 1.0.x for version 8, read the ordering field only from 
`hoodie.table.precombine.field` and take its value as one field name. Without 
that key they silently fall back to commit-time ordering; with the full list 
under it (what the 9 to 8 downgrade writes) their writes fail and their reads 
compare a missing field. Writing only the first field is not safe either, since 
ties on it would be broken differently by the two binaries.
   
   **What you expected:**
   
   Table creation refuses several ordering fields below version 9 with a clear 
error, the way it already cannot represent them for those readers. Version 9 
and above keep supporting them.
   
   Related: #20345 (records the single field under the legacy key), #20347 (the 
same problem on the 9 to 8 downgrade).
   


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