You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/10/09 02:43:27 UTC
[jira] [Commented] (SPARK-11018) Support UDT in codegen and unsafe
projection
[ https://issues.apache.org/jira/browse/SPARK-11018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14949691#comment-14949691 ]
Apache Spark commented on SPARK-11018:
--------------------------------------
User 'davies' has created a pull request for this issue:
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
> 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