aboutsummaryrefslogtreecommitdiff
path: root/sql/hive
diff options
context:
space:
mode:
authorWenchen Fan <wenchen@databricks.com>2016-06-03 14:28:19 -0700
committerCheng Lian <lian@databricks.com>2016-06-03 14:28:19 -0700
commit11c83f83d5172167cb64513d5311b4178797d40e (patch)
treefa4a41d3d6d244f4887bb0cd14205b15af8d16f3 /sql/hive
parent28ad0f7b0dc7bf24fac251c4f131aca74ba1c1d2 (diff)
downloadspark-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 'sql/hive')
0 files changed, 0 insertions, 0 deletions