Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Since CANCEL QUERY doesn’t trigger a savepoint, the result would be a simple OK, like the one returned by DDL.

...

TRIGGER SAVEPOINT

CREATE TRIGGER SAVEPOINT  statements trigger savepoints for the specified query, which is similar to `flink savepoint` in CLI.

Code Block
languagesql
titleSyntax: CREATE SAVEPOINT
CREATETRI SAVEPOINT <query_id>

The result would the savepoint path.

...

Code Block
languagesql
titleSyntax: DROP SAVEPOINT
DISPOSEDROP SAVEPOINT <savepoint_path>

...