hdygxsj commented on code in PR #100:
URL:
https://github.com/apache/incubator-paimon-webui/pull/100#discussion_r1408708832
##########
paimon-web-api/src/main/java/org/apache/paimon/web/api/catalog/PaimonServiceFactory.java:
##########
@@ -26,15 +26,30 @@
import org.apache.commons.lang3.StringUtils;
+import java.util.HashMap;
+import java.util.Map;
+
/** Paimon service factory. */
public class PaimonServiceFactory {
- public static PaimonService createFileSystemCatalogService(String name,
String warehouse) {
+ public static PaimonService createFileSystemCatalogService(
+ String name, String warehouse, Map<String, String> catalogOptions)
{
+ if (catalogOptions == null) {
+ catalogOptions = new HashMap<>();
Review Comment:
If catalogOptions is empty, it will be treated as the local file system
--
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]