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)