yihua commented on code in PR #11175:
URL: https://github.com/apache/hudi/pull/11175#discussion_r1622908331


##########
hudi-utilities/src/test/java/org/apache/hudi/utilities/sources/TestHoodieIncrSource.java:
##########
@@ -344,7 +385,7 @@ private void 
readAndAssert(IncrSourceHelper.MissingCheckpointStrategy missingChe
     snapshotCheckPointImplClassOpt.map(className ->
         
properties.setProperty(SnapshotLoadQuerySplitter.Config.SNAPSHOT_LOAD_QUERY_SPLITTER_CLASS_NAME,
 className));
     TypedProperties typedProperties = new TypedProperties(properties);
-    HoodieIncrSource incrSource = new HoodieIncrSource(typedProperties, jsc(), 
spark(), new DummySchemaProvider(HoodieTestDataGenerator.AVRO_SCHEMA));
+    HoodieIncrSource incrSource = new HoodieIncrSource(typedProperties, jsc(), 
spark(), metrics, new DefaultStreamContext(new 
DummySchemaProvider(HoodieTestDataGenerator.AVRO_SCHEMA), sourceProfile));

Review Comment:
   Could you validate the source parallelism is changed after passing the 
source profile?



-- 
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