You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2021/03/31 23:10:00 UTC

[jira] [Updated] (BEAM-11871) SQL UDFs don't work well with Row as an argument

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

Kenneth Knowles updated BEAM-11871:
-----------------------------------
    Status: Open  (was: Triage Needed)

> SQL UDFs don't work well with Row as an argument
> ------------------------------------------------
>
>                 Key: BEAM-11871
>                 URL: https://issues.apache.org/jira/browse/BEAM-11871
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql
>            Reporter: Andrew Pilloud
>            Priority: P2
>
> SQL UDFs get a  [WrappedRow|https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/rel/BeamCalcRel.java#L642], which is suppose to be an internal wrapper for BeamCalcRel. We should revisit how rows are passed to UDFs, possibly passing the Schema Row instead. At very least users need to be able to get columns by name.



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