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: Insert query with agg function return err #15355

Open
1 of 2 tasks
TCeason opened this issue Apr 28, 2024 · 0 comments
Open
1 of 2 tasks

bug: Insert query with agg function return err #15355

TCeason opened this issue Apr 28, 2024 · 0 comments
Assignees
Labels
C-bug Category: something isn't working

Comments

@TCeason
Copy link
Collaborator

TCeason commented Apr 28, 2024

Search before asking

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

Version

main

What's Wrong?

Err with BadArguments

How to Reproduce?

MySQL [(none)]> insert INTO t1 VALUES(max(1));
ERROR 1105 (HY000): PanicError. Code: 1104, Text = called `Result::unwrap()` on an `Err` value: BadArguments. Code: 1006, Text = Unable to get field named "18446744073709551615". Valid fields: ["id"].

   0: databend_common_exception::exception_backtrace::capture
             at src/common/exception/src/exception_backtrace.rs:72:17
   1: databend_common_exception::exception_code::<impl databend_common_exception::exception::ErrorCode>::BadArguments
             at src/common/exception/src/exception_code.rs:35:30
   2: databend

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@TCeason TCeason added the C-bug Category: something isn't working label Apr 28, 2024
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

No branches or pull requests

2 participants