lindong28 commented on code in PR #209:
URL: https://github.com/apache/flink-ml/pull/209#discussion_r1101188817


##########
flink-ml-lib/src/test/java/org/apache/flink/ml/feature/HashingTFTest.java:
##########
@@ -83,15 +81,9 @@ public class HashingTFTest extends AbstractTestBase {
 
     @Before
     public void before() {
-        Configuration config = new Configuration();
-        
config.set(ExecutionCheckpointingOptions.ENABLE_CHECKPOINTS_AFTER_TASKS_FINISH, 
true);
-        env = StreamExecutionEnvironment.getExecutionEnvironment(config);
-        env.getConfig().enableObjectReuse();
-        env.setParallelism(4);
-        env.enableCheckpointing(100);
-        env.setRestartStrategy(RestartStrategies.noRestart());
+        env = TestUtils.getExecutionEnvironment();
         tEnv = StreamTableEnvironment.create(env);
-        DataStream<Row> dataStream = env.fromCollection(INPUT);
+        DataStream<Row> dataStream = env.fromCollection(INPUT, 
Types.ROW(Types.LIST(Types.STRING)));

Review Comment:
   Yes that is correct.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to