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] [Commented] (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:comment-tabpanel&focusedCommentId=17342758#comment-17342758 ] 

Beam JIRA Bot commented on BEAM-11871:
--------------------------------------

This issue was marked "stale-P2" and has not received a public comment in 14 days. It is now automatically moved to P3. If you are still affected by it, you can comment and move it back to 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
>
> 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)