Skip to content

Commit

Permalink
[VL] Daily Update Velox Version (2024_07_23) (#6552)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer authored Jul 23, 2024
1 parent 2e47b58 commit 08115e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cpp/velox/compute/WholeStageResultIterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ std::shared_ptr<velox::Config> WholeStageResultIterator::createConnectorConfig()
configs[velox::connector::hive::HiveConfig::kFileColumnNamesReadAsLowerCaseSession] =
!veloxCfg_->get<bool>(kCaseSensitive, false) ? "true" : "false";
configs[velox::connector::hive::HiveConfig::kPartitionPathAsLowerCaseSession] = "false";
configs[velox::connector::hive::HiveConfig::kParquetWriteTimestampUnitSession] = "6";
configs[velox::parquet::WriterOptions::kParquetSessionWriteTimestampUnit] = "6";
configs[velox::connector::hive::HiveConfig::kReadTimestampUnitSession] = "6";
configs[velox::connector::hive::HiveConfig::kMaxPartitionsPerWritersSession] =
std::to_string(veloxCfg_->get<int32_t>(kMaxPartitions, 10000));
Expand Down
4 changes: 2 additions & 2 deletions cpp/velox/operators/writer/VeloxParquetDatasource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,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 = 6 /*micro*/;
writeOption.parquetWriteTimestampUnit = TimestampUnit::kMicro /*micro*/;
auto compressionCodec = CompressionKind::CompressionKind_SNAPPY;
if (sparkConfs.find(kParquetCompressionCodec) != sparkConfs.end()) {
auto compressionCodecStr = sparkConfs.find(kParquetCompressionCodec)->second;
Expand Down Expand Up @@ -93,7 +93,7 @@ void VeloxParquetDatasource::init(const std::unordered_map<std::string, std::str
compressionCodec = CompressionKind::CompressionKind_NONE;
}
}
writeOption.compression = compressionCodec;
writeOption.compressionKind = compressionCodec;
writeOption.flushPolicyFactory = [&]() {
return std::make_unique<velox::parquet::LambdaFlushPolicy>(
maxRowGroupRows_, maxRowGroupBytes_, [&]() { return false; });
Expand Down
2 changes: 1 addition & 1 deletion ep/build-velox/src/get_velox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -exu


VELOX_REPO=https://github.com/oap-project/velox.git
VELOX_BRANCH=2024_07_19
VELOX_BRANCH=2024_07_23
VELOX_HOME=""

#Set on run gluten on HDFS
Expand Down

0 comments on commit 08115e1

Please sign in to comment.