You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2015/10/09 01:57:26 UTC

[jira] [Created] (SPARK-11018) Support UDT in codegen and unsafe projection

Davies Liu created SPARK-11018:
----------------------------------

             Summary: Support UDT in codegen and unsafe projection
                 Key: SPARK-11018
                 URL: https://issues.apache.org/jira/browse/SPARK-11018
             Project: Spark
          Issue Type: Bug
            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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org