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

Unexpected generic error with LIKE query #21368

Open
YuanchengJiang opened this issue May 18, 2023 · 0 comments
Open

Unexpected generic error with LIKE query #21368

YuanchengJiang opened this issue May 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@YuanchengJiang
Copy link

YuanchengJiang commented May 18, 2023

Bug Description
Unexpected generic error with LIKE query:

select count(symbol) from test where symbol like 'INTC';   // OK
select count(symbol) from test where not symbol like 'INTC';   // Exception
select count(symbol) from test where not symbol not like 'INTC'  // OK

To Reproduce
Steps to reproduce the behavior:

create database test;
use test;
create table test(time TIMESTAMP, symbol VARCHAR(16), price DOUBLE, day_volume INT);
insert into test values ('2023-04-14 19:10:48.002','INTC',31.82,NULL);
select count(symbol) from test where not symbol like 'INTC';

Expected Behavior
The query select count(symbol) from test where not symbol like 'INTC'; should return result.

Environment (please complete the following information):

  • OS: ubuntu 20.04
  • TDengine Version: 3.0.4.1
@YuanchengJiang YuanchengJiang added the bug Something isn't working label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant