Skip to content

Commit

Permalink
Fixes prior bad rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahbenizzy committed Aug 22, 2023
1 parent 1fe41e0 commit 71ca9d1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hamilton/experimental/h_spark.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ def get_spark_type(return_type: Any) -> types.DataType:
return python_to_spark_type(return_type)
elif return_type in _list:
return types.ArrayType(python_to_spark_type(return_type.__args__[0]))
elif return_type in _list:
return types.ArrayType(python_to_spark_type(return_type.__args__[0]))
elif hasattr(return_type, "__module__") and getattr(return_type, "__module__") == "numpy":
return numpy_to_spark_type(return_type)
else:
Expand Down

0 comments on commit 71ca9d1

Please sign in to comment.