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

bug: test failed when select * from table with semi structured data type array #5564

Closed
1 of 2 tasks
ZeaLoVe opened this issue May 25, 2022 · 0 comments · Fixed by #5792
Closed
1 of 2 tasks

bug: test failed when select * from table with semi structured data type array #5564

ZeaLoVe opened this issue May 25, 2022 · 0 comments · Fixed by #5792
Assignees
Labels
C-bug Category: something isn't working

Comments

@ZeaLoVe
Copy link
Contributor

ZeaLoVe commented May 25, 2022

Search before asking

  • I had searched in the issues and found no similar issues.

Version

v0.7.59-nightly-debian

What's Wrong?

case in 02_function\02_0005_function_compare

select '==Array(String)==';

CREATE TABLE IF NOT EXISTS t14(id Int, arr Array(String)) Engine = fuse;

INSERT INTO t14 (id, arr) VALUES(1, ['aa', 'bb']), (2, ['cc', 'dd']);

select * from t14;
select arr[0], arr[1] from t14;

select '==Array(String) Nullable==';

CREATE TABLE IF NOT EXISTS t15(id Int, arr Array(String) Null) Engine = fuse;

INSERT INTO t15 (id, arr) VALUES(1, ['aa', 'bb']), (2, ['cc', 'dd']), (3, null), (4, ['ee', 'ff']);

select * from t15;
select arr[0], arr[1] from t15;

return error

mysql> select * from t15;
ERROR 1105 (HY000): Code: 1015, displayText = Any { .. }.

cc @b41sh

How to Reproduce?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@ZeaLoVe ZeaLoVe added the C-bug Category: something isn't working label May 25, 2022
@b41sh b41sh self-assigned this May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants