[jira] [Assigned] (SPARK-12867) Nullability of Intersect can be stricter
[ https://issues.apache.org/jira/browse/SPARK-12867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-12867: Assignee: Apache Spark (was: Xiao Li) > 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: Apache Spark >Priority: Minor > > {{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
[jira] [Assigned] (SPARK-12867) Nullability of Intersect can be stricter
[ https://issues.apache.org/jira/browse/SPARK-12867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-12867: Assignee: Xiao Li (was: Apache Spark) > 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 > > {{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