This is an automated email from the ASF dual-hosted git repository.
yao 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 d8d1065c07 [VL] Add sqrt support (#9725)
d8d1065c07 is described below
commit d8d1065c07b0e2cb6e4ddb8cb058d5f80119e114
Author: Kent Yao <[email protected]>
AuthorDate: Tue May 27 15:11:20 2025 +0800
[VL] Add sqrt support (#9725)
* [VL] Add sqrt support
* restore
---
.../org/apache/gluten/functions/MathFunctionsValidateSuite.scala | 7 +++++++
1 file changed, 7 insertions(+)
diff --git
a/backends-velox/src/test/scala/org/apache/gluten/functions/MathFunctionsValidateSuite.scala
b/backends-velox/src/test/scala/org/apache/gluten/functions/MathFunctionsValidateSuite.scala
index 081f305f3f..24685b0e9e 100644
---
a/backends-velox/src/test/scala/org/apache/gluten/functions/MathFunctionsValidateSuite.scala
+++
b/backends-velox/src/test/scala/org/apache/gluten/functions/MathFunctionsValidateSuite.scala
@@ -349,4 +349,11 @@ abstract class MathFunctionsValidateSuite extends
FunctionsValidateSuite {
}
}
}
+
+ test("Test sqrt function") {
+ val df = runQueryAndCompare("SELECT sqrt(l_orderkey) from lineitem limit
1") {
+ checkGlutenOperatorMatch[ProjectExecTransformer]
+ }
+ checkLengthAndPlan(df, 1)
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]