LiPL2017 opened a new pull request, #3497:
URL: https://github.com/apache/flink-cdc/pull/3497

   A majority of our Sqlserver databases use uniqueidentifier as primary keys.
   When we enable 'scan.incremental.snapshot.enabled = true', **flink cdc** 
will try to split into chunks.
   The splitTableIntoChunks function relies on the queryMinMax function, which 
fails when trying to calculate the MIN(UUID) and MAX(UUID). [The issue arises 
because the uniqueidentifier type in SQL Server does not support the 
traditional MIN and MAX functions in a mathematical sense, as it does not 
follow a numeric minimum or maximum value.]( 
https://learn.microsoft.com/en-us/sql/connect/ado-net/sql/compare-guid-uniqueidentifier-values?view=sql-server-ver16)
   


-- 
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: issues-unsubscr...@flink.apache.org

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

Reply via email to