use of io.prestosql.plugin.hive.HiveOutputTableHandle in project hetu-core by openlookeng.
the class CarbondataMetadata method finishCreateTable.
@Override
public Optional<ConnectorOutputMetadata> finishCreateTable(ConnectorSession session, ConnectorOutputTableHandle tableHandle, Collection<Slice> fragments, Collection<ComputedStatistics> computedStatistics) {
Optional<ConnectorOutputMetadata> connectorOutputMetadata;
HiveOutputTableHandle handle = (HiveOutputTableHandle) tableHandle;
setExternalTable(true);
Map<String, String> serdeParameters = initSerDeProperties(handle.getTableName());
connectorOutputMetadata = super.finishCreateTable(session, tableHandle, fragments, computedStatistics, serdeParameters);
writeSegmentFileAndSetLoadModel();
return connectorOutputMetadata;
}
Aggregations