Closed ming535 closed 5 years ago
it would be too expensive for large tables, and make parallel fetch quite difficult, if not impossible.
I'd prefer a local comparison along with an optional remote one for non-numeric columns(e.g. select 'abc'>'abcd') instead.
Why it cannot stop? We'll finish the task if no rows returned from query. https://github.com/moiot/gravity/blob/bb844133dbb673daa40294606e72edde026ef751/pkg/inputs/mysqlbatch/mysql_table_scanner.go#L224
We should consider start a snapshot consistent read.