hddong commented on a change in pull request #1770: URL: https://github.com/apache/hudi/pull/1770#discussion_r458817019
########## File path: hudi-cli/src/main/java/org/apache/hudi/cli/HoodieCLI.java ########## @@ -115,4 +115,16 @@ public static synchronized TempViewProvider getTempViewProvider() { return tempViewProvider; } + /** + * Close tempViewProvider. + * <p/> + * For test, avoid multiple SparkContexts. + */ + public static synchronized void closeTempViewProvider() { Review comment: +1, @VisibleForTesting can be useful. ---------------------------------------------------------------- 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: us...@infra.apache.org