yzeng1618 commented on issue #10386:
URL: https://github.com/apache/seatunnel/issues/10386#issuecomment-3783143768

   The main cause of the current issue is: when table_path + query is used, it 
goes through JdbcCatalogUtils.mergeCatalogTable to perform table schema 
merging. For MySQL type mapping, LONGTEXT/LONGBLOB directly set columnLength = 
2^32-1 = 4294967295L
   . However, Column.columnLength itself is a Long, and casting it to int 
during merging triggers an ArithmeticException: integer overflow.
   For now, if you are doing single-table synchronization, a temporary 
workaround is to use the query directly for synchronization without adding 
table_list. You can give this a try.


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