You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/09/19 03:59:18 UTC

[GitHub] [incubator-hugegraph-toolchain] haohao0103 commented on a diff in pull request #334: Schema cache optimize

haohao0103 commented on code in PR #334:
URL: https://github.com/apache/incubator-hugegraph-toolchain/pull/334#discussion_r973847060


##########
hugegraph-loader/src/main/java/com/baidu/hugegraph/loader/builder/SchemaCache.java:
##########
@@ -46,6 +46,7 @@ public SchemaCache(HugeClient client) {
         this.propertyKeys = new HashMap<>();
         this.vertexLabels = new HashMap<>();
         this.edgeLabels = new HashMap<>();
+        updateAll();

Review Comment:
   The HugeGraphSparkLoader does not get the real metadata information when SchemaCache is first created



-- 
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-unsubscribe@hugegraph.apache.org

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