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

Cheng Lian resolved SPARK-11018.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

Issue resolved by pull request 9016
[https://github.com/apache/spark/pull/9016]

> Support UDT in codegen and unsafe projection
> --------------------------------------------
>
>                 Key: SPARK-11018
>                 URL: https://issues.apache.org/jira/browse/SPARK-11018
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Davies Liu
>            Assignee: Davies Liu
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> UDT is not handled correctly in codegen:
> {code}
> failed to compile: org.codehaus.commons.compiler.CompileException: File 
> 'generated.java', Line 41, Column 30: No applicable constructor/method found 
> for actual parameters "int, java.lang.Object"; candidates are: "public void 
> org.apache.spark.sql.catalyst.expressions.codegen.UnsafeRowWriter.write(int, 
> org.apache.spark.unsafe.types.CalendarInterval)", "public void 
> org.apache.spark.sql.catalyst.expressions.codegen.UnsafeRowWriter.write(int, 
> org.apache.spark.sql.types.Decimal, int, int)", "public void 
> org.apache.spark.sql.catalyst.expressions.codegen.UnsafeRowWriter.write(int, 
> org.apache.spark.unsafe.types.UTF8String)", "public void 
> org.apache.spark.sql.catalyst.expressions.codegen.UnsafeRowWriter.write(int, 
> byte[])"
> {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