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

json_length(json_col, path_col) return unexpect error #8711

Closed
SeaRise opened this issue Jan 20, 2024 · 0 comments · Fixed by #8718
Closed

json_length(json_col, path_col) return unexpect error #8711

SeaRise opened this issue Jan 20, 2024 · 0 comments · Fixed by #8718
Labels
component/compute severity/minor type/bug The issue is confirmed as a bug.

Comments

@SeaRise
Copy link
Contributor

SeaRise commented Jan 20, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

DROP TABLE IF EXISTS test.c_t2;
CREATE TABLE test.c_t2 ( col json );
ALTER TABLE test.c_t2 SET TIFLASH REPLICA 1;

set tidb_allow_mpp=1;set tidb_enforce_mpp=1; set tidb_isolation_read_engines='tiflash';

select json_length(col, '*') from test.c_t2;

2. What did you expect to see? (Required)

query success

3. What did you see instead (Required)

ERROR 1105 (HY000): other error for mpp stream: Code: 42, e.displayText() = DB::Exception: Number of arguments for function jsonLength doesn't match: passed 2 , should be 1, e.what() = DB::Exception,

4. What is your TiFlash version? (Required)

Git Commit Hash: 6db1d6b79c2855cf022f04ced86af3e6bc8b0dcf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/compute severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant