Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

[JIT] Support for the NULL type #373

Open
mihaibudiu opened this issue Apr 14, 2023 · 1 comment
Open

[JIT] Support for the NULL type #373

mihaibudiu opened this issue Apr 14, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mihaibudiu
Copy link

SQL supports the NULL type, which is the type of the NULL literal.
There is no way to represent this in the JIT compiler.
This is useful for example to cast NULL to various other types, as in the following program:
SELECT T.COL4 || NULL FROM T
Perhaps the compiler can eliminate this, but right now it doesn't.

@mihaibudiu mihaibudiu added the enhancement New feature or request label Apr 14, 2023
@Kixiron
Copy link
Contributor

Kixiron commented Apr 17, 2023

I think this should be handled on the compiler's side so that it can appropriately implement null's semantics within the given context

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants