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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to