diff options
author | Eric Liang <ekl@databricks.com> | 2016-07-12 23:09:02 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-07-12 23:09:02 -0700 |
commit | 1c58fa905b6543d366d00b2e5394dfd633987f6d (patch) | |
tree | cd75fb6d7e58f2563501afe5a46ff8de6f2246b5 /docs/sql-programming-guide.md | |
parent | 56bd399a86c4e92be412d151200cb5e4a5f6a48a (diff) | |
download | spark-1c58fa905b6543d366d00b2e5394dfd633987f6d.tar.gz spark-1c58fa905b6543d366d00b2e5394dfd633987f6d.tar.bz2 spark-1c58fa905b6543d366d00b2e5394dfd633987f6d.zip |
[SPARK-16514][SQL] Fix various regex codegen bugs
## What changes were proposed in this pull request?
RegexExtract and RegexReplace currently crash on non-nullable input due use of a hard-coded local variable name (e.g. compiles fail with `java.lang.Exception: failed to compile: org.codehaus.commons.compiler.CompileException: File 'generated.java', Line 85, Column 26: Redefinition of local variable "m" `).
This changes those variables to use fresh names, and also in a few other places.
## How was this patch tested?
Unit tests. rxin
Author: Eric Liang <ekl@databricks.com>
Closes #14168 from ericl/sc-3906.
Diffstat (limited to 'docs/sql-programming-guide.md')
0 files changed, 0 insertions, 0 deletions