我正在使用 parquet 框架来编写 parquet 文件。我用这个构造函数创建了镶木地板作家——
public class ParquetBaseWriter<T extends HashMap> extends ParquetWriter<T> {
public ParquetBaseWriter(Path file, HashMap<String, SchemaField> mySchema,
CompressionCodecName compressionCodecName, int blockSize,
int pageSize) throws IOException {
super(file, ParquetBaseWriter.<T>writeSupport(mySchema),
compressionCodecName, blockSize, pageSize, DEFAULT_IS_DICTIONARY_ENABLED, false);
}
每次创建 parquet 文件时,也会在磁盘上创建一个与其对应的 .crc 文件。如何避免创建该 .crc 文件?有没有我必须设置的标志或其他东西?
谢谢