You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 12:36:01 UTC
[GitHub] [beam] damccorm opened a new issue, #19640: SQL should support complex types for UDF and have documentation
damccorm opened a new issue, #19640:
URL: https://github.com/apache/beam/issues/19640
In Beam UDF, is it feasible to return a list? For example, the UDF function is defined as (input) String -\> (output) List<String\>,
```public static class UDF implements SerializableFunction<String, List<String\>\>```
I got a nullpointerexception if a list is returned.
Best,
Yang
Imported from Jira [BEAM-7787](https://issues.apache.org/jira/browse/BEAM-7787). Original Jira may contain additional context.
Reported by: yangzhang.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org