This is an automated email from the ASF dual-hosted git repository.
yuanzhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new bdb68de256 [GLUTEN-6887][VL] Daily Update Velox Version (2025_02_08)
(#8687)
bdb68de256 is described below
commit bdb68de256d6aee36f6a1e27241b3f7b299e6723
Author: Gluten Performance Bot
<[email protected]>
AuthorDate: Mon Feb 10 07:27:40 2025 +0800
[GLUTEN-6887][VL] Daily Update Velox Version (2025_02_08) (#8687)
Upstream Velox's New Commits:
5b053cc12 by Kevin Wilfong, feat: Optimize PrestoBatchVectorSerializer
[2/7]: Serialize RowVectors (12072)
62aa025c5 by rui-mo, fix(parquet): Get sessionTimezone from QueryConfig
(11949)
8e9e50d31 by Kevin Wilfong, test: Deflake MultiFragmentTest.maxBytes (12284)
179cef72e by Shakyan Kushwaha, build: Allow options to wget curl cmake
during setup (12201)
cf4806548 by Deepak Majeti, feat(S3): Add payload-signing-policy config
(12197)
788555cc8 by David Reveman, feat: Remove unnecessary PTX usage in WarpScan
(12264)
8ad54c52b by Ke Wang, feat: Add exchange http transaction create delay
counters (12276)
1ff6df282 by joey.ljy, feat: Extend the simple UDAF interface with
function-level variables (12067)
50c525af6 by Yenda Li, feat: Add setting/getting properties on directories.
(12247)
4f946c7d3 by Yenda Li, fix: IPPrefix serialization with null case (12280)
---
cpp/velox/udf/examples/MyUDAF.cc | 10 +++++-----
ep/build-velox/src/get_velox.sh | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/cpp/velox/udf/examples/MyUDAF.cc b/cpp/velox/udf/examples/MyUDAF.cc
index 816880d2e7..e6c8290e70 100644
--- a/cpp/velox/udf/examples/MyUDAF.cc
+++ b/cpp/velox/udf/examples/MyUDAF.cc
@@ -66,7 +66,7 @@ class AverageAggregate {
AccumulatorType() = delete;
// Constructor used in initializeNewGroups().
- explicit AccumulatorType(HashStringAllocator* /*allocator*/) {
+ explicit AccumulatorType(HashStringAllocator* /*allocator*/,
AverageAggregate* /* fn*/) {
sum_ = 0;
count_ = 0;
}
@@ -145,19 +145,19 @@ class MyAvgRegisterer final : public
gluten::UdafRegisterer {
if (exec::isRawInput(step)) {
switch (inputType->kind()) {
case TypeKind::REAL:
- return
std::make_unique<SimpleAggregateAdapter<AverageAggregate<float>>>(resultType);
+ return
std::make_unique<SimpleAggregateAdapter<AverageAggregate<float>>>(step,
argTypes, resultType);
case TypeKind::DOUBLE:
- return
std::make_unique<SimpleAggregateAdapter<AverageAggregate<double>>>(resultType);
+ return
std::make_unique<SimpleAggregateAdapter<AverageAggregate<double>>>(step,
argTypes, resultType);
default:
VELOX_FAIL("Unknown input type for {} aggregation {}", name_,
inputType->kindName());
}
} else {
switch (resultType->kind()) {
case TypeKind::REAL:
- return
std::make_unique<SimpleAggregateAdapter<AverageAggregate<float>>>(resultType);
+ return
std::make_unique<SimpleAggregateAdapter<AverageAggregate<float>>>(step,
argTypes, resultType);
case TypeKind::DOUBLE:
case TypeKind::ROW:
- return
std::make_unique<SimpleAggregateAdapter<AverageAggregate<double>>>(resultType);
+ return
std::make_unique<SimpleAggregateAdapter<AverageAggregate<double>>>(step,
argTypes, resultType);
default:
VELOX_FAIL("Unsupported result type for final aggregation:
{}", resultType->kindName());
}
diff --git a/ep/build-velox/src/get_velox.sh b/ep/build-velox/src/get_velox.sh
index 68b6c720e8..62848fb513 100755
--- a/ep/build-velox/src/get_velox.sh
+++ b/ep/build-velox/src/get_velox.sh
@@ -17,7 +17,7 @@
set -exu
VELOX_REPO=https://github.com/oap-project/velox.git
-VELOX_BRANCH=2025_02_07
+VELOX_BRANCH=2025_02_08
VELOX_HOME=""
OS=`uname -s`
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]