Skip to content

Commit

Permalink
fix(interactive): Expose config for Glogue size and pattern decomposi…
Browse files Browse the repository at this point in the history
…tion size in Compiler in Charts (#4081)
  • Loading branch information
BingqingLyu authored Aug 13, 2024
1 parent ce93b02 commit f4b3f87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/graphscope-store/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ data:
graph.physical.opt={{ .Values.graphPhysicalOpt }}
gremlin.script.language.name={{ .Values.gremlinScriptLanguageName }}
query.execution.timeout.ms={{ .Values.queryExecutionTimeoutMs }}
graph.planner.join.min.pattern.size={{ .Values.graphPlannerJoinMinPatternSize }}
graph.planner.cbo.glogue.size={{ .Values.graphPlannerCboGlogueSize }}

log4rs.config=LOG4RS_CONFIG
## Auth config
Expand Down
2 changes: 2 additions & 0 deletions charts/graphscope-store/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ graphPlannerRules: FilterIntoJoinRule, FilterMatchRule, ExtendIntersectRule, Exp
gremlinScriptLanguageName: antlr_gremlin_traversal
graphPhysicalOpt: ffi
queryExecutionTimeoutMs: 600000
graphPlannerJoinMinPatternSize: 5
graphPlannerCboGlogueSize: 3

## Key-value pair separated by ;
## For example extraConfig="k1=v1;k2=v2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ private com.alibaba.graphscope.common.config.Configs getConfigs() {
addToConfigMapIfExist(PlannerConfig.GRAPH_PLANNER_RULES.getKey(), configMap);
addToConfigMapIfExist(FrontendConfig.GREMLIN_SCRIPT_LANGUAGE_NAME.getKey(), configMap);
addToConfigMapIfExist(FrontendConfig.GRAPH_PHYSICAL_OPT.getKey(), configMap);
addToConfigMapIfExist(PlannerConfig.GRAPH_PLANNER_CBO_GLOGUE_SIZE.getKey(), configMap);
addToConfigMapIfExist(PlannerConfig.JOIN_MIN_PATTERN_SIZE.getKey(), configMap);
return new com.alibaba.graphscope.common.config.Configs(configMap);
}

Expand Down

0 comments on commit f4b3f87

Please sign in to comment.