We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
create table t( a int primary key); alter table t set tiflash replica 2; select count(*) from t where case when a then isnull(a) else 12.991 end; /* +--------------------------------+----------+-------------------+---------------+---------------------------------+ | id | estRows | task | access object | operator info | +--------------------------------+----------+-------------------+---------------+---------------------------------+ | HashAgg_21 | 1.00 | root | | funcs:count(Column#4)->Column#2 | | └─TableReader_23 | 1.00 | root | | data:ExchangeSender_22 | | └─ExchangeSender_22 | 1.00 | batchCop[tiflash] | | ExchangeType: PassThrough | | └─HashAgg_9 | 1.00 | batchCop[tiflash] | | funcs:count(1)->Column#4 | | └─Selection_20 | 8000.00 | batchCop[tiflash] | | case(c2.t.a, 0, 12.991) | | └─TableFullScan_19 | 10000.00 | batchCop[tiflash] | table:t | keep order:false, stats:pseudo | +--------------------------------+----------+-------------------+---------------+---------------------------------+ */
successfully
ERROR 1105 (HY000): other error for mpp stream: DB::Exception: Wrong precision:18446744073709551615
master
The text was updated successfully, but these errors were encountered:
Reproduced on latest version on local dev.
Sorry, something went wrong.
It seems type transformation error from TiDB type to TiFlash IDataType, and mistakenly take NewDecimal's prec as -1.
Fix special NewDecimal type passed from TiDB (#4329)
288aa19
close #4147
yibin87
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
successfully
3. What did you see instead (Required)
ERROR 1105 (HY000): other error for mpp stream: DB::Exception: Wrong precision:18446744073709551615
4. What is your TiFlash version? (Required)
master
The text was updated successfully, but these errors were encountered: