You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2021/05/11 17:20:01 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 ]

Beam JIRA Bot updated BEAM-11871:
---------------------------------
    Priority: P3  (was: P2)

> 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: P3
>              Labels: stale-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)