Skip to content

Commit

Permalink
Better way to specify column rename
Browse files Browse the repository at this point in the history
  • Loading branch information
xzdandy committed Sep 9, 2023
1 parent 5a7b4dc commit 88211f3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions evadb/executor/create_function_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,7 @@ def handle_forecasting_function(self):
metadata_here = [
FunctionMetadataCatalogEntry("model_name", model_name),
FunctionMetadataCatalogEntry("model_path", model_path),
FunctionMetadataCatalogEntry(
"output_column_rename", self.node.outputs[0].name
),
FunctionMetadataCatalogEntry("output_column_rename", arg_map["predict"]),
]

return (
Expand Down

0 comments on commit 88211f3

Please sign in to comment.