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

Query results in "baseBuiltinFunc.vecEvalString() should never be called" error #15847

Closed
mrigger opened this issue Mar 30, 2020 · 4 comments · Fixed by #21132
Closed

Query results in "baseBuiltinFunc.vecEvalString() should never be called" error #15847

mrigger opened this issue Mar 30, 2020 · 4 comments · Fixed by #21132
Assignees
Labels
component/expression help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/major sig/execution SIG execution type/bug The issue is confirmed as a bug.
Milestone

Comments

@mrigger
Copy link

mrigger commented Mar 30, 2020

Consider the following statements:

CREATE VIEW v0(c0) AS SELECT NULL;
SELECT * FROM v0 WHERE (NOT (IF(v0.c0, NULL, NULL))); -- baseBuiltinFunc.vecEvalString() should never be called, please contact the TiDB team for help

Unexpectedly, the SELECT results in an error ERROR 1105 (HY000): baseBuiltinFunc.vecEvalString() should never be called, please contact the TiDB team for help.

Environment:

mysql> SELECT tidb_version();
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version()                                                                                                                                                                                                                                                                                               |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v4.0.0-beta.2-75-ga6de0e38d-dirty
Git Commit Hash: a6de0e38d49c97671d316590c8c945eb518ca2b2
Git Branch: master
UTC Build Time: 2020-03-26 12:11:33
GoVersion: go1.13.4
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
@mrigger mrigger added the type/bug The issue is confirmed as a bug. label Mar 30, 2020
@XuHuaiyu
Copy link
Contributor

PTAL @qw4990

@SunRunAway SunRunAway added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Mar 30, 2020
@SunRunAway SunRunAway removed the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Mar 30, 2020
@qw4990
Copy link
Contributor

qw4990 commented Apr 1, 2020

PTAL @qw4990

I will fix this problem soon.

@SunRunAway
Copy link
Contributor

@qw4990 A friendly ping

@qw4990 qw4990 added this to the v4.0.2 milestone Jun 1, 2020
@zz-jason zz-jason modified the milestones: v4.0.2, v4.0.3 Jun 19, 2020
@winoros winoros modified the milestones: v4.0.3, v4.0.4 Jul 14, 2020
@imtbkcat imtbkcat modified the milestones: v4.0.4, v4.0.5, v4.0.6 Jul 28, 2020
@AilinKid AilinKid modified the milestones: v4.0.6, 4.0.7 Sep 8, 2020
@lzmhhh123 lzmhhh123 modified the milestones: v4.0.7, v4.0.8 Sep 21, 2020
@bb7133 bb7133 removed this from the v4.0.8 milestone Nov 4, 2020
@bb7133 bb7133 added this to the v4.0.9 milestone Nov 4, 2020
@qw4990 qw4990 added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Nov 9, 2020
@wshwsh12 wshwsh12 assigned wshwsh12 and unassigned qw4990 Nov 10, 2020
@wshwsh12 wshwsh12 modified the milestones: v4.0.9, v4.0.10 Nov 30, 2020
@XuHuaiyu XuHuaiyu added the sig/execution SIG execution label Dec 11, 2020
@ti-srebot
Copy link
Contributor

Please edit this comment or add a new comment to complete the following information

Not a bug

  1. Remove the 'type/bug' label
  2. Add notes to indicate why it is not a bug

Duplicate bug

  1. Add the 'type/duplicate' label
  2. Add the link to the original bug

Bug

Note: Make Sure that 'component', and 'severity' labels are added
Example for how to fill out the template: #20100

1. Root Cause Analysis (RCA) (optional)

2. Symptom (optional)

3. All Trigger Conditions (optional)

4. Workaround (optional)

5. Affected versions

6. Fixed versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/expression help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/major sig/execution SIG execution type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.