Skip to content

Commit

Permalink
Resolve errors in doc building
Browse files Browse the repository at this point in the history
  • Loading branch information
timsaucer committed Nov 9, 2024
1 parent fcb5f96 commit bca6fa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/datafusion/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ def to_timestamp(arg: Expr, *formatters: Expr) -> Expr:
return f.to_timestamp(arg.expr)

formatters = [f.expr for f in formatters]
return Expr(f.to_timestamp(arg.expr.cast(pa.string()), *formatters))
return Expr(f.to_timestamp(arg.expr, *formatters))


def to_timestamp_millis(arg: Expr, *formatters: Expr) -> Expr:
Expand Down
1 change: 1 addition & 0 deletions python/datafusion/udf.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def udaf(
which this UDAF is used. The following examples are all valid.
.. code-block:: python
import pyarrow as pa
import pyarrow.compute as pc
Expand Down

0 comments on commit bca6fa6

Please sign in to comment.