Skip to content

Commit

Permalink
DOC-2349-gsql 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Lee authored and Victor Lee committed Oct 25, 2024
1 parent bb06cb8 commit a4915dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/ddl-and-loading/pages/running-a-loading-job.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ This is a boolean parameter. The loader has two modes: streaming mode (`"False"`

=== Running Loading Jobs as REST Requests

Another way to run a loading job is through the `+POST /ddl/{graph_name}+` endpoint of the REST{pp} server. Since the REST{pp} server has more direct access to the graph processing engine, this can execute more quickly than a `RUN LOADING JOB` statement in GSQL. For details on how to use the endpoint, please see xref:3.2@tigergraph-server:API:built-in-endpoints.adoc#_run_a_loading_job[Run a loading job].
Another way to run a loading job is through the `+POST /ddl/{graph_name}+` endpoint of the REST{pp} server. Since the REST{pp} server has more direct access to the graph processing engine, this can execute more quickly than a `RUN LOADING JOB` statement in GSQL. For details on how to use the endpoint, please see xref:{page-component-version}@tigergraph-server:API:built-in-endpoints.adoc#_run_a_loading_job[Run a loading job].

== Inspecting and Managing Loading Jobs

Expand Down
4 changes: 2 additions & 2 deletions modules/tutorials/pages/pattern-matching/adv/dml.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ In general, data modification can be at two levels in GSQL:

Pattern matching Insert is supported at both the top-level and within-SELECT levels, using the same syntax as in classic GSQL. You can insert vertices and edges.

* For a top-level statement, use xref:3.2@gsql-ref:querying:data-modification-statements.adoc#_insert_into_statement[INSERT INTO],
* Inside an ACCUM or POST-ACCUM clause, use the xref:3.2@gsql-ref:querying:data-modification-statements.adoc#_dml_sub_insert[DML-sub INSERT] statement.
* For a top-level statement, use xref:querying:data-modification-statements.adoc#_insert_into_statement[INSERT INTO],
* Inside an ACCUM or POST-ACCUM clause, use the xref:querying:data-modification-statements.adoc#_dml_sub_insert[DML-sub INSERT] statement.

*Example 1.* Create a Person vertex, whose name is Tiger Woods. Next, find Viktor's favorite 2012 posts' authors, whose last name is prefixed with S. Finally, insert Knows edges connecting Tiger Woods with Viktor's favorite authors.

Expand Down

0 comments on commit a4915dc

Please sign in to comment.