You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "DanielLeens (via GitHub)" <gi...@apache.org> on 2026/04/09 12:44:06 UTC

Re: [I] [Bug][Connector-V2][MySQL] Target tables missing comments and non-primary-key indexes in schema auto-creation [seatunnel]

DanielLeens commented on issue #10736:
URL: https://github.com/apache/seatunnel/issues/10736#issuecomment-4214308294

   Thanks for raising this.
   
   I checked the current MySQL/JDBC schema-creation path on `dev`. In the current code, table comments, column comments, and non-primary-key constraint keys are part of the `CatalogTable` / `TableSchema` model, and the MySQL create-table SQL builder can emit table comments plus non-primary indexes when `create_index = true`.
   
   So this does not look like a general "MySQL sink can never preserve them" limitation in the current code base.
   
   The missing piece is which exact path you are using. Could you please confirm:
   1. the exact SeaTunnel version (the body says `2.1.13` — did you mean `2.3.13`?)
   2. the source connector and sink connector you are using
   3. whether the target table is created via `schema_save_mode`
   4. whether `create_index` is left at its default value
   
   If this is an older branch/version gap, the explanation may simply be that the newer schema path is not present there yet. If you are already on current 2.3.x / `dev` and the comments or secondary indexes are still missing, then this would be worth treating as a real bug.
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

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