diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-06-03 14:28:19 -0700 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2016-06-03 14:28:19 -0700 |
commit | 11c83f83d5172167cb64513d5311b4178797d40e (patch) | |
tree | fa4a41d3d6d244f4887bb0cd14205b15af8d16f3 /R | |
parent | 28ad0f7b0dc7bf24fac251c4f131aca74ba1c1d2 (diff) | |
download | spark-11c83f83d5172167cb64513d5311b4178797d40e.tar.gz spark-11c83f83d5172167cb64513d5311b4178797d40e.tar.bz2 spark-11c83f83d5172167cb64513d5311b4178797d40e.zip |
[SPARK-15140][SQL] make the semantics of null input object for encoder clear
## What changes were proposed in this pull request?
For input object of non-flat type, we can't encode it to row if it's null, as Spark SQL doesn't allow row to be null, only its columns can be null.
This PR explicitly add this constraint and throw exception if users break it.
## How was this patch tested?
several new tests
Author: Wenchen Fan <wenchen@databricks.com>
Closes #13469 from cloud-fan/null-object.
Diffstat (limited to 'R')
0 files changed, 0 insertions, 0 deletions