database-stream-processor icon indicating copy to clipboard operation
database-stream-processor copied to clipboard

[JIT] Support for the NULL type

Open mihaibudiu opened this issue 1 year ago • 1 comments

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 avatar Apr 14 '23 22:04 mihaibudiu