Skip to content

Commit

Permalink
fix munew line are not rendered correclty when multiple params are gi…
Browse files Browse the repository at this point in the history
…ven (#2891)

Committed-by: siyuanzhang.zsy from Dev container
  • Loading branch information
siyuan0322 committed Jun 14, 2023
1 parent fbf40f6 commit 7ef0e4d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion analytical_engine/core/grape_instance.cc
Expand Up @@ -287,7 +287,7 @@ bl::result<rpc::graph::GraphDefPb> GrapeInstance::projectToSimple(
return graph_def;
}
VY_OK_OR_RAISE(client_->Persist(vy_info.vineyard_id()));
// contruct fragment group
// construct fragment group
BOOST_LEAF_AUTO(frag_group_id,
vineyard::ConstructFragmentGroup(
*client_, vy_info.vineyard_id(), comm_spec_));
Expand Down
4 changes: 2 additions & 2 deletions interactive_engine/assembly/src/bin/graphscope/giectl
Expand Up @@ -119,7 +119,7 @@ start_frontend() {
-e "s@THREADS_PER_WORKER@${threads_per_worker}@g" \
${GRAPHSCOPE_HOME}/conf/frontend.vineyard.properties > ${config_dir}/frontend.vineyard.properties
echo -e "\n" >> ${config_dir}/frontend.vineyard.properties
echo $decoded_params >> ${config_dir}/frontend.vineyard.properties
echo -e "$decoded_params" >> ${config_dir}/frontend.vineyard.properties

# frontend service hold a handle client of coordinator
java ${java_opt} \
Expand Down Expand Up @@ -178,7 +178,7 @@ start_executor() {
-e "s@THREADS_PER_WORKER@${threads_per_worker}@g" \
${GRAPHSCOPE_HOME}/conf/executor.vineyard.properties > ${config_dir}/executor.$server_id.vineyard.properties
echo -e "\n" >> ${config_dir}/executor.$server_id.vineyard.properties
echo $decoded_params >> ${config_dir}/executor.$server_id.vineyard.properties
echo "$decoded_params" >> ${config_dir}/executor.$server_id.vineyard.properties

cp ${GRAPHSCOPE_HOME}/conf/log4rs.yml ${config_dir}/log4rs.yml

Expand Down
4 changes: 2 additions & 2 deletions python/graphscope/interactive/query.py
Expand Up @@ -135,7 +135,7 @@ def execute(self, query, request_options=None):
"""Execute gremlin querying scripts.
Args:
query (str): Scripts that written in gremlin quering language.
query (str): Scripts that written in gremlin query language.
request_options (dict, optional): Gremlin request options. format:
{
"engine": "gae"
Expand All @@ -154,7 +154,7 @@ def submit(self, query, request_options=None):
def subgraph(self, gremlin_script, request_options=None):
"""Create a subgraph, which input is the result of the execution of `gremlin_script`.
Any gremlin script that output a set of edges can be used to contruct a subgraph.
Any gremlin script that output a set of edges can be used to construct a subgraph.
Args:
gremlin_script (str): Gremlin script to be executed.
Expand Down

0 comments on commit 7ef0e4d

Please sign in to comment.