You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Michael Mior (JIRA)" <ji...@apache.org> on 2019/07/24 15:04:00 UTC
[jira] [Commented] (CALCITE-3195) Handle UDF that throws checked
exceptions in enumerable code generator
[ https://issues.apache.org/jira/browse/CALCITE-3195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891931#comment-16891931 ]
Michael Mior commented on CALCITE-3195:
---------------------------------------
Fixed in [{{18974ce}}|https://github.com/apache/calcite/commit/18974ce8a945424a8a3465c03b253e292641f420].
> Handle UDF that throws checked exceptions in enumerable code generator
> ----------------------------------------------------------------------
>
> Key: CALCITE-3195
> URL: https://issues.apache.org/jira/browse/CALCITE-3195
> Project: Calcite
> Issue Type: Bug
> Components: core, piglet
> Reporter: Khai Tran
> Assignee: Feng Zhu
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Current auto-generated code cannot handle UDFs that throws checked exception, so the auto-generated code fails to compile.
> In piglet, the PigUDFWrapper class is a workaround for handling IOException from some Pig UDFs.
> Need to fix the codegen engine, then remove PigUDFWrapper class.
> Related ticket: https://issues.apache.org/jira/browse/CALCITE-3122
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)