Skip to content
Snippets Groups Projects
Commit b1436c74 authored by Reynold Xin's avatar Reynold Xin Committed by Xiao Li
Browse files

[SPARK-21059][SQL] LikeSimplification can NPE on null pattern

## What changes were proposed in this pull request?
This patch fixes a bug that can cause NullPointerException in LikeSimplification, when the pattern for like is null.

## How was this patch tested?
Added a new unit test case in LikeSimplificationSuite.

Author: Reynold Xin <rxin@databricks.com>

Closes #18273 from rxin/SPARK-21059.
parent 32818d9b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment