use of org.apache.hadoop.hive.ql.io.parquet.write.DataWritableWriter in project hive by apache.
the class TestDataWritableWriter method writeParquetRecord.
private void writeParquetRecord(String schema, ParquetHiveRecord record, TimeZone timeZone) throws SerDeException {
MessageType fileSchema = MessageTypeParser.parseMessageType(schema);
DataWritableWriter hiveParquetWriter = new DataWritableWriter(mockRecordConsumer, fileSchema, timeZone);
hiveParquetWriter.write(record);
}
Aggregations