-
Notifications
You must be signed in to change notification settings - Fork 534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[INLONG-7958][Sort] Fix MongoDB's schema becomes unordered after extracting the row data #7960
Conversation
@e-mhui Why to keep schema order? I suggest that add reason. |
The sink (e.g. iceberg) automatically builds the table, and the source schema being shuffled during the synchronization process will result in inconsistent schema order between source and sink. |
The reason has been added to the description. |
look good to me |
…acting the row data (apache#7960)
Prepare a Pull Request
[INLONG-7958][Sort] Fix MongoDB's schema becomes unordered after extracting the row data
Motivation
_id
as the default primary key.Modifications
LinkedHashMap
instead ofHashMap
to make the schema ordered._id
as the default primary key