You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "lindong28 (via GitHub)" <gi...@apache.org> on 2023/02/09 09:30:01 UTC
[GitHub] [flink-ml] lindong28 commented on a diff in pull request #209: [FLINK-30688][followup] Disable Kryo fallback for tests in flink-ml-lib
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org