Skip to content

Commit

Permalink
check for tag not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Yifei Wang authored and Yifei Wang committed Nov 25, 2023
1 parent 2b83449 commit bc0da72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evadb/models/storage/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def apply_function_expression(self, expr: Callable) -> Batch:
"""
Execute function expression on frames.
"""
if expr.forward.tags is not None:
if hasattr(expr.forward, "tags"):
input_tags = expr.forward.tags["input"][0]
output_tags = expr.forward.tags["output"][0]
self.drop_column_alias(metadata=(input_tags, output_tags))
Expand Down

0 comments on commit bc0da72

Please sign in to comment.