This is an automated email from the ASF dual-hosted git repository.
zeroshade pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 6294a732e8 GH-34044: [Go] Fix build with noasm tag (#34045)
6294a732e8 is described below
commit 6294a732e897437394f8049d87aa77dc20d0144c
Author: Noah Treuhaft <[email protected]>
AuthorDate: Mon Feb 6 12:35:14 2023 -0500
GH-34044: [Go] Fix build with noasm tag (#34045)
Fix the following build failure.
$ go build -tags noasm ./...
# github.com/apache/arrow/go/v12/arrow/compute/internal/kernels
arrow/compute/internal/kernels/basic_arithmetic_noasm.go:27:9:
undefined: getGoArithmeticOpFloatingSameType
arrow/compute/internal/kernels/basic_arithmetic_noasm.go:35:9:
undefined: getGoArithmeticFixedIntOut
Closes #34044.
Authored-by: Noah Treuhaft <[email protected]>
Signed-off-by: Matt Topol <[email protected]>
---
go/arrow/compute/internal/kernels/basic_arithmetic_noasm.go | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/go/arrow/compute/internal/kernels/basic_arithmetic_noasm.go
b/go/arrow/compute/internal/kernels/basic_arithmetic_noasm.go
index 994266eec8..d1bf0faa30 100644
--- a/go/arrow/compute/internal/kernels/basic_arithmetic_noasm.go
+++ b/go/arrow/compute/internal/kernels/basic_arithmetic_noasm.go
@@ -24,13 +24,9 @@ import (
)
func getArithmeticOpFloating[InT, OutT constraints.Float](op ArithmeticOp)
exec.ArrayKernelExec {
- return getGoArithmeticOpFloatingSameType[InT, OutT](op)
+ return getGoArithmeticOpFloating[InT, OutT](op)
}
func getArithmeticOpIntegral[InT, OutT exec.UintTypes | exec.IntTypes](op
ArithmeticOp) exec.ArrayKernelExec {
return getGoArithmeticOpIntegral[InT, OutT](op)
}
-
-func getArithmeticUnaryFixedIntOut[InT exec.NumericTypes, OutT
exec.IntTypes](op ArithmeticOp) exec.ArrayKernelExec {
- return getGoArithmeticFixedIntOut[InT, OutT](op)
-}