garyli1019 commented on a change in pull request #1486: [HUDI-759] Integrate 
checkpoint privoder with delta streamer
URL: https://github.com/apache/incubator-hudi/pull/1486#discussion_r406589335
 
 

 ##########
 File path: 
hudi-utilities/src/main/java/org/apache/hudi/utilities/deltastreamer/DeltaSync.java
 ##########
 @@ -153,7 +153,7 @@
   private transient HoodieWriteClient writeClient;
 
   public DeltaSync(HoodieDeltaStreamer.Config cfg, SparkSession sparkSession, 
SchemaProvider schemaProvider,
-                   TypedProperties props, JavaSparkContext jssc, FileSystem 
fs, HiveConf hiveConf,
+                   TypedProperties props, JavaSparkContext jssc, FileSystem 
fs, Configuration hiveConf,
 
 Review comment:
   ok...After a closer look, I'd still vote for naming this as `hiveConf`. 
There are `cfg` `props` in `HoodieDeltaStreamer` and `DeltaSync`. If we name it 
conf, I personally will get confused while reading the code. This `hiveConf` is 
specifically for Hive Sync, even it's not `HiveConf` type anymore, but 
`hiveConf` will still represent what it does? WDYT?

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


With regards,
Apache Git Services

Reply via email to