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

Jonathan Gray updated SPARK-15258:
----------------------------------
    Attachment: NestedCases.scala

Example code that exhibits the exceptional behaviour

> Nested/Chained case statements generate codegen over 64k exception
> ------------------------------------------------------------------
>
>                 Key: SPARK-15258
>                 URL: https://issues.apache.org/jira/browse/SPARK-15258
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.1
>            Reporter: Jonathan Gray
>         Attachments: NestedCases.scala
>
>
> Nested/Chained case-when expressions generate a codegen goes beyound 64k 
> exception.
> A test attached demonstrates this behaviour.
> I'd like to try and fix this but don't really know the best place to start.  
> Ideally, I'd like to avoid the codegen fallback as with large volumes this 
> hurts performance.
> This is similar(ish) to SPARK-13242 but I'd like to see if there are any 
> alternatives to the codegen fallback approach.



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