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

Decimal type mismatch error only output in meta node log #12548

Closed
QuantumBear opened this issue Sep 26, 2023 · 4 comments
Closed

Decimal type mismatch error only output in meta node log #12548

QuantumBear opened this issue Sep 26, 2023 · 4 comments
Assignees
Labels
type/bug Something isn't working
Milestone

Comments

@QuantumBear
Copy link

Describe the bug

In psql client, it reports channel closed.

Error message/log

Can find this error log in meta node log

Json parse error: rw Decimal's precision is large than doris max decimal len is 12, doris max is 11

To Reproduce

No response

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

dev=> select version();
                                     version
----------------------------------------------------------------------------------
 PostgreSQL 9.5-RisingWave-1.3.0-alpha (5ab1f7a2fb8bf1e0b984598d95b69b50c6410c33)
(1 row)

Additional context

No response

@QuantumBear QuantumBear added the type/bug Something isn't working label Sep 26, 2023
@github-actions github-actions bot added this to the release-1.3 milestone Sep 26, 2023
@fuyufjh
Copy link
Member

fuyufjh commented Sep 27, 2023

@xxhZs Please take a look

@xxhZs
Copy link
Contributor

xxhZs commented Sep 27, 2023

Hello, can you provide the decimal data associated with the error?

@QuantumBear
Copy link
Author

It happens when the length of decimal in mv is larger then the correspond field in Doris, easy to reproduce.

@xxhZs
Copy link
Contributor

xxhZs commented Sep 27, 2023

It happens when the length of decimal in mv is larger then the correspond field in Doris, easy to reproduce.

Thanks!This is because Doris has a decimal precision limit, exceeding which will result in the data insertion failure. Here, we will adopt a more explicit approach to throw this error.

@fuyufjh fuyufjh closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants