[ https://issues.apache.org/jira/browse/SPARK-11018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated SPARK-11018: ------------------------------ Component/s: SQL > 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 > > 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