Skip to content

SELECT NULL returns a type mismatch with DuckDB #73

@ankrgyl

Description

@ankrgyl
qs> select null;
<repl>: error: Runtime error: SQL Engine returned a record batch with an invalid schema: expected List(Record([Field { name: "NULL", type_: Atom(Null), nullable: true }])), got List(Record([Field { name: "NULL", type_: Atom(Int32), nullable: true }])). This can happen if the type is declared incorrectly or if there's a bug in the engine.
qs>

It seems like DuckDB defaults its (Arrow) value to be an int32. We should probably do the same, just for compatability's sake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions