[ https://issues.apache.org/jira/browse/SPARK-12867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheng Lian resolved SPARK-12867. -------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 Issue resolved by pull request 10812 [https://github.com/apache/spark/pull/10812] > Nullability of Intersect can be stricter > ---------------------------------------- > > Key: SPARK-12867 > URL: https://issues.apache.org/jira/browse/SPARK-12867 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Cheng Lian > Assignee: Xiao Li > Priority: Minor > Fix For: 2.0.0 > > > {{Intersect}} doesn't override {{SetOperation.output}}, which is defined as: > {code} > override def output: Seq[Attribute] = > left.output.zip(right.output).map { case (leftAttr, rightAttr) => > leftAttr.withNullability(leftAttr.nullable || rightAttr.nullable) > } > {code} > However, we can replace the {{||}} with {{&&}} for intersection. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org