Open jianhaiqing opened 5 years ago
it just simple compare the raw data, so check fail for JSON Type, we will update to compare logically
Yes, I agree. Please let me know if you update sync_diff_inspector.
Thank you so much.
you can ignore this column now, you can see https://github.com/pingcap/tidb-tools/blob/94e36e48b3d1f6efae9de5d449ea053ccaa0518b/sync_diff_inspector/config.toml#L80
ERRO[0031] check chunk data equal failed, error Error 1054: Unknown column 'title' in 'field list' github.com/pingcap/errors.AddStack /home/jenkins/workspace/build_tidb_tools_master/go/pkg/mod/github.com/pingcap/errors@v0.11.0/errors.go:174 github.com/pingcap/errors.Trace /home/jenkins/workspace/build_tidb_tools_master/go/pkg/mod/github.com/pingcap/errors@v0.11.0/juju_adaptor.go:12 github.com/pingcap/tidb-tools/pkg/dbutil.GetCRC32Checksum /home/jenkins/workspace/build_tidb_tools_master/go/src/github.com/pingcap/tidb-tools/pkg/dbutil/common.go:363 github.com/pingcap/tidb-tools/pkg/diff.(TableDiff).getSourceTableChecksum /home/jenkins/workspace/build_tidb_tools_master/go/src/github.com/pingcap/tidb-tools/pkg/diff/diff.go:225 github.com/pingcap/tidb-tools/pkg/diff.(TableDiff).checkChunkDataEqual /home/jenkins/workspace/build_tidb_tools_master/go/src/github.com/pingcap/tidb-tools/pkg/diff/diff.go:244 github.com/pingcap/tidb-tools/pkg/diff.(*TableDiff).EqualTableData.func1 /home/jenkins/workspace/build_tidb_tools_master/go/src/github.com/pingcap/tidb-tools/pkg/diff/diff.go:192 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1333
CREATE TABLE test_float (
uuid char(32) NOT NULL,
average float DEFAULT '0',
PRIMARY KEY (uuid)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
insert into test_float value('0a6f9d012f98467f8e671e9870044528', 208.867);
SELECT
CONCAT_WS( ',', average)
FROM
test_float
WHERE
uuid = '0a6f9d012f98467f8e671e9870044528';
@WangXiangUSTC how about this problem?
Unknown column 'title' in 'field list', it seems the data struct is not equal, and do you set ignore-struct-check=true in config file? @jianhaiqing
there is a issue in tidb https://github.com/pingcap/tidb/issues/7529, we will fix it. @jianhaiqing
Can we close this as some of this may be covered by #350 and/or https://github.com/pingcap/tidb/issues/7529 ?
json data doesn't replicate with correct order using syncer.
checking failed data due to column audios
source from mysql
MySQL master version (percona server) :
tidb_version:
Release Version: v1.0.0-48-g4ac1cfc Git Commit Hash: 4ac1cfc7c1f9ac256c37733d831ce7dd1643b3fa Git Branch: master UTC Build Time: 2018-11-15 09:15:13 Go Version: go version go1.11 linux/amd64