Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-nelson-uiuc committed Jan 12, 2025
1 parent bdff28e commit 6b4d170
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion narwhals/_spark_like/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,9 @@ def _filter(
],
)
query = reduce(operator.and_, predicates)
return F.explode(F.filter(F.array(_input), lambda _: query))
return F.explode(
F.filter(F.array(_input), lambda _: query)
) # TODO (unauthored): resolve PySparkValueError: [HIGHER_ORDER_FUNCTION_SHOULD_RETURN_COLUMN] Function `<lambda>` should return Column, got SparkLikeExpr.

return self._from_call(
_filter,
Expand Down

0 comments on commit 6b4d170

Please sign in to comment.