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
val address = Seq((1,"abc.com"),
(2,"...abc"),
(3,".a.b.c"))
import spark.implicits._
val df = address.toDF("id","txt")
df.write.mode("overwrite").format("parquet").save("/tmp/testparquet")
val df2=spark.read.parquet("/tmp/testparquet")
df2.createOrReplaceTempView("df2")
spark.sql("select id,txt, split(txt, '\\\\.')[0] AS new_txt from df2").show()
Not-supported-messages:
!Expression <StringSplit> split(txt#209, \., -1) cannot run on GPU because regular expressions are not supported yet
The text was updated successfully, but these errors were encountered:
I wish we support split with regular expressions.
Mini repro:
Not-supported-messages:
The text was updated successfully, but these errors were encountered: