imbajin commented on code in PR #683:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/683#discussion_r2444649222


##########
hugegraph-loader/src/main/java/org/apache/hugegraph/loader/HugeGraphLoader.java:
##########
@@ -97,10 +155,50 @@ public LoadContext context() {
         return this.context;
     }
 
+    private void checkGraphExists() {
+        HugeClient client = this.context.indirectClient();
+        String targetGraph = this.options.graph;
+        if (this.options.createGraph
+            && !client.graphs().listGraph().contains(targetGraph)) {
+            Map<String, String> conf = new HashMap<>();

Review Comment:
   **Hardcoded Configuration**: The graph configuration hardcodes 
backend="hstore", serializer="binary", etc. This should be configurable through 
LoadOptions or a config file to support different deployment scenarios 
(RocksDB, MySQL, PostgreSQL backends, etc.).



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to