Uh oh!
There was an error while loading. Please reload this page.
[SPARK-13101][SQL] nullability of array type element should not fail analysis of encoder - #11035
[SPARK-13101][SQL] nullability of array type element should not fail analysis of encoder#11035cloud-fan wants to merge 1 commit into
Conversation
cloud-fan
commented
Feb 2, 2016
There was a problem hiding this comment.
The previous tests are very verbose and hard to maintain, every time we change some unrelated analysis behaviours, these tests need to be updated. Actually for these tests, we only care about if analysis passes, runtime execution successes. So I simplified these tests to only ensure we don't fail analysis and execution.
SparkQA
commented
Feb 3, 2016
Test build #50611 has finished for PR 11035 at commit
|
liancheng
commented
Feb 3, 2016
retest this please |
SparkQA
commented
Feb 3, 2016
Test build #50617 has finished for PR 11035 at commit
|
cloud-fan
commented
Feb 3, 2016
retest this please |
liancheng
commented
Feb 3, 2016
I'm investigating the failed flaky tests, and @davies is marking them as ignored temporarily to bring back the PR builder. |
SparkQA
commented
Feb 3, 2016
Test build #50620 has finished for PR 11035 at commit
|
cloud-fan
commented
Feb 3, 2016
retest it please |
liancheng
commented
Feb 3, 2016
LGTM |
There was a problem hiding this comment.
So this does still silently corrupt values.
scala>Seq(("a", Seq(null, newInteger(1)))).toDS().as[(String, Array[Int])].collect()
res5:Array[(String, Array[Int])] =Array((a,Array(0, 1)))Since this isn't a regression its probably okay as long as we open another JIRA.
There was a problem hiding this comment.
SparkQA
commented
Feb 3, 2016
Test build #2507 has finished for PR 11035 at commit
|
cloud-fan
commented
Feb 3, 2016
retest this please |
…ld not fail analysis of encoder nullability should only be considered as an optimization rather than part of the type system, so instead of failing analysis for mismatch nullability, we should pass analysis and add runtime null check. backport #11035 to 1.6 Author: Wenchen Fan <wenchen@databricks.com> Closes#11042 from cloud-fan/branch-1.6.
cloud-fan
commented
Feb 6, 2016
retest this please |
SparkQA
commented
Feb 6, 2016
Test build #50860 has finished for PR 11035 at commit
|
cloud-fan
commented
Feb 6, 2016
retest this please |
SparkQA
commented
Feb 6, 2016
Test build #50861 has finished for PR 11035 at commit
|
cloud-fan
commented
Feb 6, 2016
retest this please |
SparkQA
commented
Feb 6, 2016
Test build #50864 has finished for PR 11035 at commit
|
gatorsmile
commented
Feb 6, 2016
retest this please |
SparkQA
commented
Feb 6, 2016
Test build #50871 has finished for PR 11035 at commit
|
cloud-fan
commented
Feb 7, 2016
retest this please |
SparkQA
commented
Feb 7, 2016
Test build #50886 has finished for PR 11035 at commit
|
cloud-fan
commented
Feb 7, 2016
cc @marmbrus |
marmbrus
commented
Feb 8, 2016
Thanks, merging to master. |
nullability should only be considered as an optimization rather than part of the type system, so instead of failing analysis for mismatch nullability, we should pass analysis and add runtime null check.