Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

LLVM does not support SELECT without FROM currently #907

Open
@hzxa21

Description

@hzxa21

The LLVM engine does not support SELECT without FROM right now because it requires the projection plan to have a child plan. Here is the check:

context.Prepare(*plan_.GetChild(0), pipeline);

If we use SELECT 1 FROM A where A is an empty table, the result will be empty. The reason might be that if the table is empty, the LLVM will not even generate codes for the projection logics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions