Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
  • Loading branch information
zhouyuan committed Dec 14, 2024
1 parent 0fc5681 commit f5710d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/velox/operators/writer/VeloxParquetDataSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void VeloxParquetDataSource::init(const std::unordered_map<std::string, std::str
maxRowGroupRows_ = static_cast<int64_t>(stoi(sparkConfs.find(kParquetBlockRows)->second));
}
velox::parquet::WriterOptions writeOption;
writeOption.parquetWriteTimestampUnit = TimestampUnit::kMicro /*micro*/;
writeOption.parquetWriteTimestampUnit = TimestampPrecision::kMicroseconds /*micro*/;
auto compressionCodec = CompressionKind::CompressionKind_SNAPPY;
if (sparkConfs.find(kParquetCompressionCodec) != sparkConfs.end()) {
auto compressionCodecStr = sparkConfs.find(kParquetCompressionCodec)->second;
Expand Down

0 comments on commit f5710d1

Please sign in to comment.