-
- Downloads
[SPARK-16324][SQL] regexp_extract should doc that it returns empty string when match fails
## What changes were proposed in this pull request? Doc that regexp_extract returns empty string when regex or group does not match ## How was this patch tested? Jenkins test, with a few new test cases Author: Sean Owen <sowen@cloudera.com> Closes #14525 from srowen/SPARK-16324.
Showing
- python/pyspark/sql/functions.py 5 additions, 1 deletionpython/pyspark/sql/functions.py
- sql/core/src/main/scala/org/apache/spark/sql/functions.scala 2 additions, 1 deletionsql/core/src/main/scala/org/apache/spark/sql/functions.scala
- sql/core/src/test/scala/org/apache/spark/sql/StringFunctionsSuite.scala 4 additions, 0 deletions...est/scala/org/apache/spark/sql/StringFunctionsSuite.scala
Loading
Please register or sign in to comment