presto-main/src/main/java/io/prestosql/execution/SqlQueryExecution.java/SqlQueryExecution/getSession
class SqlQueryExecution:    @Override
    public Session getSession()
    {
        return stateMachine.getSession();
    }