Skip to content

Commit

Permalink
fix config settings in experimental ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
shirly121 committed Feb 20, 2024
1 parent 83143b0 commit 55ca01c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions interactive_engine/compiler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ run:
-Dgraph.schema=${graph.schema} \
-Dgraph.store=${graph.store} \
-Dpegasus.hosts=${pegasus.hosts} \
-Dgremlin.script.language.name=${gremlin.script.language.name} \
-Dphysical.opt.config=${physical.opt.config} \
com.alibaba.graphscope.GraphServer ${config.path}

# make physical_plan config.path='<path to the config file>'
Expand Down
7 changes: 2 additions & 5 deletions interactive_engine/compiler/ir_experimental_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ fi

# restart compiler service
ps -ef | grep "com.alibaba.graphscope.GraphServer" | grep -v grep | awk '{print $2}' | xargs kill -9 || true
export gremlin.script.language.name=antlr_gremlin_calcite
cd ${base_dir} && make run &
cd ${base_dir} && make run gremlin.script.language.name=antlr_gremlin_calcite &
sleep 5s
# run gremlin standard tests to test calcite-based IR layer
cd ${base_dir} && make gremlin_calcite_test
Expand All @@ -31,9 +30,7 @@ fi

# restart compiler service
ps -ef | grep "com.alibaba.graphscope.GraphServer" | grep -v grep | awk '{print $2}' | xargs kill -9 || true
export gremlin.script.language.name=antlr_gremlin_calcite
export physical.opt.config=proto
cd ${base_dir} && make run &
cd ${base_dir} && make run gremlin.script.language.name=antlr_gremlin_calcite physical.opt.config=proto &
sleep 5s
# run gremlin standard tests to test calcite-based IR layer
cd ${base_dir} && make gremlin_calcite_test
Expand Down

0 comments on commit 55ca01c

Please sign in to comment.