We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8250d9 commit 49f9015Copy full SHA for 49f9015
1 file changed
python/datafusion/functions.py
@@ -317,7 +317,7 @@ def decode(expr: Expr, encoding: Expr) -> Expr:
317
318
def array_to_string(expr: Expr, delimiter: Expr) -> Expr:
319
"""Converts each element to its text representation."""
320
- return Expr(f.array_to_string(expr.expr, delimiter.expr.cast(pa.string())))
+ return Expr(f.array_to_string(expr.expr, delimiter.cast(str).expr))
321
322
323
def array_join(expr: Expr, delimiter: Expr) -> Expr:
0 commit comments