Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
xzdandy committed Sep 11, 2023
1 parent 0674ec6 commit a2a1f9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evadb/executor/executor_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class ExecutorError(Exception):
def apply_project(
batch: Batch, project_list: List[AbstractExpression], catalog: "CatalogManager"
):
# batch is None for `SELECT expr;`, where we don't have input table relationship.
if batch is None or (not batch.empty() and project_list):
batches = [expr.evaluate(batch) for expr in project_list]
batch = Batch.merge_column_wise(batches)
Expand Down

0 comments on commit a2a1f9a

Please sign in to comment.