Skip to content
Snippets Groups Projects
Commit 42386e79 authored by Burak Yavuz's avatar Burak Yavuz Committed by Reynold Xin
Browse files

[SPARK-18260] Make from_json null safe


## What changes were proposed in this pull request?

`from_json` is currently not safe against `null` rows. This PR adds a fix and a regression test for it.

## How was this patch tested?

Regression test

Author: Burak Yavuz <brkyvz@gmail.com>

Closes #15771 from brkyvz/json_fix.

(cherry picked from commit 6e270181)
Signed-off-by: default avatarReynold Xin <rxin@databricks.com>
parent 70763014
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