Skip to content

Commit

Permalink
Fix xgboost and test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
americast committed Nov 17, 2023
1 parent 3ca9ce1 commit 8d2d5ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion evadb/binder/statement_binder.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ def _bind_create_function_statement(self, node: CreateFunctionStatement):
outputs.append(column)
else:
inputs.append(column)
elif string_comparison_case_insensitive(node.function_type, "sklearn"):
elif string_comparison_case_insensitive(
node.function_type, "sklearn"
) or string_comparison_case_insensitive(node.function_type, "XGBoost"):
assert (
"predict" in arg_map
), f"Creating {node.function_type} functions expects 'predict' metadata."
Expand Down

0 comments on commit 8d2d5ef

Please sign in to comment.