You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2019/08/03 10:07:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Julian Hyde updated CALCITE-3195:
---------------------------------
    Description: 
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.

  was:
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


> 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.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)