You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Hai Lu (Jira)" <ji...@apache.org> on 2019/11/07 00:06:04 UTC

[jira] [Updated] (SAMZA-2230) Samza SQL : Right now Samza SQL UDFs that expect typed arguments fail when we pass argument of ANY type

     [ https://issues.apache.org/jira/browse/SAMZA-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hai Lu updated SAMZA-2230:
--------------------------
    Fix Version/s: 1.3

> Samza SQL : Right now Samza SQL UDFs that expect typed arguments fail when we pass argument of ANY type
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SAMZA-2230
>                 URL: https://issues.apache.org/jira/browse/SAMZA-2230
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Srinivasulu Punuru
>            Assignee: Srinivasulu Punuru
>            Priority: Major
>             Fix For: 1.3
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Calcite and hence Samza SQL supports untyped fields of type SamzaSqlFieldType.ANY. Corresponding java type for such fields is Object. When an UDF expects a typed field and when one of the arguments that is passed is untyped of Object ANY, it fails. And calcite doesn't allow casting the ANY to a well defined type like java does. 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)