yihua commented on issue #7562:
URL: https://github.com/apache/hudi/issues/7562#issuecomment-1367767235

   @soumilshah1995 Thanks for raising the question.  `HoodieCompactor` is a 
Java class and the command-line arguments for spark-submit are parsed using 
JCommander, which is not compatible with PySpark.  One way to get around this 
is to call Java class in Python like 
[this](https://stackoverflow.com/questions/33544105/running-custom-java-class-in-pyspark),
 but then you have to construct `HoodieCompactor.Config` yourself to pass in 
relevant args.


-- 
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: commits-unsubscr...@hudi.apache.org

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

Reply via email to