pvary commented on code in PR #9212:
URL: https://github.com/apache/iceberg/pull/9212#discussion_r1419662475


##########
flink/v1.17/flink/src/test/java/org/apache/iceberg/flink/sink/shuffle/TestDataStatisticsOperator.java:
##########
@@ -119,9 +121,9 @@ public void testProcessElement() throws Exception {
         testHarness = createHarness(this.operator)) {
       StateInitializationContext stateContext = getStateContext();
       operator.initializeState(stateContext);
-      operator.processElement(new 
StreamRecord<>(GenericRowData.of(StringData.fromString("a"))));
-      operator.processElement(new 
StreamRecord<>(GenericRowData.of(StringData.fromString("a"))));
-      operator.processElement(new 
StreamRecord<>(GenericRowData.of(StringData.fromString("b"))));
+      operator.processElement(new StreamRecord<>(genericRowDataA));
+      operator.processElement(new StreamRecord<>(genericRowDataA));

Review Comment:
   Nit: could we make something like this here:
   ```
   genericRowDataA_2 = GenericRowData.of(StringData.fromString("a"), 2);
   operator.processElement(new StreamRecord<>(genericRowDataA_2));
   ```
   



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to