Skip to content
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

sync-diff-inspector can't find the different about datetime type. #703

Open
erwadba opened this issue Feb 22, 2023 · 1 comment
Open

sync-diff-inspector can't find the different about datetime type. #703

erwadba opened this issue Feb 22, 2023 · 1 comment

Comments

@erwadba
Copy link
Contributor

erwadba commented Feb 22, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
source
create table t(id int primary key,t datetime);
insert into t(id,t) values(1,'2022-02-23 11:22:00');
insert into t(id,t) values(2,'2022-02-23 11:22:00');
insert into t(id,t) values(3,'2022-02-23 11:22:00');
insert into t(id,t) values(4,'2022-02-23 11:22:00');

target
create table t(id int primary key,t datetime);
insert into t(id,t) values(1,'2022-02-23 11:32:00');
insert into t(id,t) values(2,'2022-02-23 11:32:00');
insert into t(id,t) values(3,'2022-02-23 11:32:00');
insert into t(id,t) values(4,'2022-02-23 11:32:00');

  1. What did you expect to see?
    report not equal

  2. What did you see instead?
    all are equal

  3. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
    v6.5.0

  4. which tool are you using?
    sync-diff-inspector

  5. what versionof tool are you using (pump -V or tidb-lightning -V or syncer -V)?

@erwadba
Copy link
Contributor Author

erwadba commented Feb 23, 2023

It's Hash Collisions about CRC32 Function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant