presto-hive/src/main/java/io/prestosql/plugin/hive/HivePageSinkProvider.java/HivePageSinkProvider/createPageSink
class HivePageSinkProvider:    @Override
    public ConnectorPageSink createPageSink(ConnectorTransactionHandle transaction, ConnectorSession session, ConnectorInsertTableHandle tableHandle)
    {
        HiveWritableTableHandle handle = (HiveInsertTableHandle) tableHandle;
        return createPageSink(handle, false, session, ImmutableMap.of() /* for insert properties are taken from metastore */);
    }