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 2020/04/15 23:16:41 UTC

[GitHub] [beam] amaliujia commented on a change in pull request #11333: [BEAM-9418] Support ANY_VALUE aggregation functions

amaliujia commented on a change in pull request #11333: [BEAM-9418] Support ANY_VALUE aggregation functions
URL: https://github.com/apache/beam/pull/11333#discussion_r409188033
 
 

 ##########
 File path: sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/BeamSqlDslAggregationTest.java
 ##########
 @@ -241,6 +238,53 @@ private void runAggregationFunctions(PCollection<Row> input) throws Exception {
     pipeline.run().waitUntilFinish();
   }
 
+  /** GROUP-BY with the any_value aggregation function. */
+  @Test
+  public void testAnyValueFunction() throws Exception {
+    pipeline.enableAbandonedNodeEnforcement(false);
+
+    Schema schema =
+            Schema.builder().addInt32Field("key").addInt32Field("col").build();
+
+    PCollection<Row> inputRows =
 
 Review comment:
   run `./gradlew spotlessApply` to fix style issues. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services