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

Critical bug: query result is wrong when Column is Null #343

Closed
kangkaisen opened this issue Nov 22, 2018 · 0 comments · Fixed by #344
Closed

Critical bug: query result is wrong when Column is Null #343

kangkaisen opened this issue Nov 22, 2018 · 0 comments · Fixed by #344

Comments

@kangkaisen
Copy link
Contributor

Describe the bug
The query result is wrong.

To Reproduce
Steps to reproduce the behavior:
1 create table

CREATE TABLE `test_wrong_result` (
  `a` int(11),
  `b` tinyint(4),
  `c` tinyint(4),
  `d` bigint(20)
) ENGINE=OLAP
DUPLICATE KEY(`a`, `b`, `c`,  `d`)
DISTRIBUTED BY HASH(`d`) BUCKETS 10;

2 load the data

3001	3	\N	1090050

3 query

SELECT c FROM test_wrong_result WHERE a = 3001 and b = 3 and d = 1090050;

Expected behavior
The query result should be NULL, not Empty set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant