[ 
https://issues.apache.org/jira/browse/SPARK-9784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-9784:
-----------------------------------

    Assignee: Josh Rosen  (was: Apache Spark)

> Exchange.isUnsafe should check whether codegen and unsafe are enabled
> ---------------------------------------------------------------------
>
>                 Key: SPARK-9784
>                 URL: https://issues.apache.org/jira/browse/SPARK-9784
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>
> Exchange needs to check whether unsafe mode is enabled in its 
> {{tungstenMode}} method:
> {code}
>   override def nodeName: String = if (tungstenMode) "TungstenExchange" else 
> "Exchange"
>   /**
>    * Returns true iff we can support the data type, and we are not doing 
> range partitioning.
>    */
>   private lazy val tungstenMode: Boolean = {
>     GenerateUnsafeProjection.canSupport(child.schema) &&
>       !newPartitioning.isInstanceOf[RangePartitioning]
>   }
> {code}



--
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

Reply via email to