Uh oh!
There was an error while loading. Please reload this page.
[SPARK-21351][SQL] Remove the UpdateAttributeNullability rule from the optimizer - #23508
[SPARK-21351][SQL] Remove the UpdateAttributeNullability rule from the optimizer#23508maropu wants to merge 2 commits into
Conversation
SparkQA
commented
Jan 10, 2019
Test build #101017 has finished for PR 23508 at commit
|
maropu
commented
Jan 10, 2019
@cloud-fan@gatorsmile It seems the removal don't affect the existing tests now. |
| // but the AttributeReference is not updated to reflect this. So, we need to update nullability | ||
| // by the `UpdateAttributeNullability` rule. | ||
| val original = rel | ||
| .select(GetArrayItem(CreateArray(Seq('a, 'a + 1L)), 0) as "b") |
There was a problem hiding this comment.
Shall we update GetArrayItem.nullable, to special-handle the combination of CreateArray and Literal?
There was a problem hiding this comment.
Ah, I see, we can do so. Is it ok to file a separate jira and make a pr for that in following activities?
dongjoon-hyun
commented
Mar 8, 2019
Retest this please. |
SparkQA
commented
Mar 9, 2019
Test build #103226 has finished for PR 23508 at commit
|
maropu
commented
Mar 9, 2019
dongjoon-hyun
commented
Mar 10, 2019
Hi, @maropu . As a the final piece of this removal, could you remove the following |
maropu
commented
Mar 10, 2019
oh, yeah. I'll do that. |
SparkQA
commented
Mar 11, 2019
Test build #103285 has finished for PR 23508 at commit
|
cloud-fan
commented
Mar 11, 2019
thanks, merging to master! |
What changes were proposed in this pull request?
This pr removed
UpdateAttributeNullabilityfrom the optimizer because the same logic happens in the analyzer. See SPARK-26459(#23390) for more detailed discussion.How was this patch tested?
N/A