-
Notifications
You must be signed in to change notification settings - Fork 589
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
ch-benchmark mysql cdc streaming q1 q2 result mismatch #15721
Comments
The source tables are consistent, could you find someone to look into the problem? @fuyufjh |
I think it is a query issue related to dev=> select count(*) from ch_benchmark_q2;
count
-------
1882
(1 row)
dev=> select count(*) from (SELECT s_suppkey, s_name, n_name, i_id, i_name, s_address, s_phone, s_comment FROM item, supplier, stock, nation, region, (SELECT s_i_id AS m_i_id, min(s_quantity) AS m_s_quantity FROM stock, supplier, nation, region WHERE mod((s_w_id * s_i_id), 10000) = s_suppkey AND s_nationkey = n_nationkey AND n
_regionkey = r_regionkey AND r_name LIKE 'EUROP%' GROUP BY s_i_id) AS m WHERE i_id = s_i_id AND mod((s_w_id * s_i_id), 10000) = s_suppkey AND s_nationkey = n_nationkey AND n_regionkey = r_regionkey AND i_data LIKE '%b' AND r_name LIKE 'EUROP%' AND i_id = m_i_id AND s_quantity = m_s_quantity);
count
-------
1882
(1 row) |
@fuyufjh The reproduced build with kept cluster. The namespace is tpc-20240318-031107. https://buildkite.com/risingwave-test/ch-benchmark-mysql-cdc-shared-source/builds/7#018e4f89-287b-45e6-8bd4-7b47e006a7a7/8381-8591 |
looks like we encountered the decimal issue: https://github.com/risingwavelabs/qa-infra/pull/73 before cc: @cyliu0 edit: |
For MySQL's results set is a superset of RW's, so I managed to find out a row that is only included in MySQL's result set:
Note that To overcome the problem, please set MySQL's column or global collation to be case-senstive. |
Describe the bug
The base tables are consistent. But the query results of q1 and q2 are different from the upstream.
https://buildkite.com/risingwave-test/ch-benchmark-mysql-cdc-shared-source/builds/5#018e44f9-49a3-4f95-a881-ca6a0c7f91a8
Error message/log
No response
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
nightly-20240314
Additional context
No response
The text was updated successfully, but these errors were encountered: