You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Andrew Pilloud (Jira)" <ji...@apache.org> on 2021/02/26 01:10:00 UTC
[jira] [Created] (BEAM-11871) SQL UDFs don't work well with Row as
an argument
Andrew Pilloud created BEAM-11871:
-------------------------------------
Summary: 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
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)