[
https://issues.apache.org/jira/browse/BEAM-10633?focusedWorklogId=466464&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-466464
]
ASF GitHub Bot logged work on BEAM-10633:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Aug/20 21:29
Start Date: 04/Aug/20 21:29
Worklog Time Spent: 10m
Work Description: amaliujia commented on a change in pull request #12461:
URL: https://github.com/apache/beam/pull/12461#discussion_r465341147
##########
File path:
sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/BeamSqlDslUdfUdafTest.java
##########
@@ -101,6 +103,21 @@ public void testJodaTimeUdfUdaf() throws Exception {
pipeline.run().waitUntilFinish();
}
+ @Test
+ public void testListUdf() throws Exception {
+ Schema resultType = Schema.builder().addArrayField("array_field",
FieldType.INT64).build();
+
+ Row row1 = Row.withSchema(resultType).addValue(Arrays.asList(1L)).build();
Review comment:
Done
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 466464)
Time Spent: 40m (was: 0.5h)
> UdfImpl when returns java.util.List will hit a NPE
> --------------------------------------------------
>
> Key: BEAM-10633
> URL: https://issues.apache.org/jira/browse/BEAM-10633
> Project: Beam
> Issue Type: Improvement
> Components: dsl-sql
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: P2
> Time Spent: 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)