You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation publishing to the site is broken, likely because this does not get tested on PR builds
>>>-------------------------------------------------------------------------
Exception in /home/runner/work/datafusion-python/datafusion-python/docs/source/user-guide/common-operations/functions.rst at block ending on line 104
Specify :okexcept: as an option in the ipython:: block to suppress this message
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[14], line 3
1 df.select(
2 f.regexp_match(col('"Name"'), literal("Char")).alias("dragons"),
----> 3 f.regexp_replace(col('"Name"'), literal("saur"), literal("fleur")).alias("flowers")
4 )
TypeError: regexp_replace() missing 1 required positional argument: 'arg4'
@andygrove, regexp_replace looks like another example where the UDF version has a non-optional argument, the same as we encountered with array_slice: apache/datafusion#10424
Activity
Michael-J-Ward commentedon May 10, 2024
@andygrove,
regexp_replacelooks like another example where theUDFversion has a non-optional argument, the same as we encountered witharray_slice: apache/datafusion#10424