We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Spark supports back references in regexp_replace but this functionality does not work correctly on the GPU.
regexp_replace
val df = List("a1","b22","333").toDF("str").repartition(2) val df2 = df.withColumn("repBackRef",regexp_replace('str,"(\\d+)$",";$1")) df2.show
+---+----------+ |str|repBackRef| +---+----------+ | a1| a;1| |b22| b;22| |333| ;333| +---+----------+
+---+----------+ |str|repBackRef| +---+----------+ | a1| a;$1| |b22| b;$1| |333| ;$1| +---+----------+
Steps/Code to reproduce bug See above.
Expected behavior We should fall back to CPU, or produce the correct results.
Environment details (please complete the following information) N/A
Additional context None
The text was updated successfully, but these errors were encountered:
andygrove
Successfully merging a pull request may close this issue.
Describe the bug
Spark supports back references in
regexp_replace
but this functionality does not work correctly on the GPU.Example
Expected Results
Actual Results
Steps/Code to reproduce bug
See above.
Expected behavior
We should fall back to CPU, or produce the correct results.
Environment details (please complete the following information)
N/A
Additional context
None
The text was updated successfully, but these errors were encountered: