presto-hive/src/main/java/io/prestosql/plugin/hive/HivePageSink.java/HivePageSink/abort
class HivePageSink:    @Override
    public void abort()
    {
        // Must be wrapped in doAs entirely
        // Implicit FileSystem initializations are possible in HiveRecordWriter#rollback -> RecordWriter#close
        hdfsEnvironment.doAs(session.getUser(), this::doAbort);
    }