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

Incorrect result when having null in case clause #4505

Closed
1 task done
YuanchengJiang opened this issue May 15, 2024 · 0 comments · Fixed by #4490
Closed
1 task done

Incorrect result when having null in case clause #4505

YuanchengJiang opened this issue May 15, 2024 · 0 comments · Fixed by #4490
Assignees

Comments

@YuanchengJiang
Copy link

To reproduce

select case when null is null then null else null end

Result:

psycopg2.DatabaseError: not implemented for type 'unknown'
LINE 2: select case when null is null then null else null end

Expected Result:

null

Workaround:

select case when null is null then null else null::string end

QuestDB version:

7.4

OS, in case of Docker specify Docker and the Host OS:

ubuntu 22

File System, in case of Docker specify Host File System:

ext4

Full Name:

Yuancheng Jiang

Affiliation:

National University of Singapore

Have you followed Linux, MacOs kernel configuration steps to increase Maximum open files and Maximum virtual memory areas limit?

  • Yes, I have

Additional context

No response

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.

2 participants