You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2015/08/10 22:03:45 UTC

[jira] [Updated] (SPARK-9784) Exchange.isUnsafe should check whether codegen and unsafe are enabled

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

Josh Rosen updated SPARK-9784:
------------------------------
    Priority: Blocker  (was: Major)

> 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
>            Priority: Blocker
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org