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

[JIT] Support for the NULL type #373

Open

Description

@mihaibudiu

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.

Activity

  1. Kixiron commented on Apr 17, 2023

    @Kixiron
    Contributor

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions