presto-main/src/main/java/io/prestosql/execution/DataDefinitionExecution.java/DataDefinitionExecution/cancelQuery
class DataDefinitionExecution:    @Override
    public void cancelQuery()
    {
        stateMachine.transitionToCanceled();
    }