This is an automated email from the ASF dual-hosted git repository.

taiyangli 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 167706d3e6 [GLUTEN-9093][CH] Add TryCastSuite for CH backend Spark 3.4 
(#9094)
167706d3e6 is described below

commit 167706d3e6d16ddc8bdeef52b86dfb05c182fe56
Author: Arnav Balyan <[email protected]>
AuthorDate: Mon Mar 24 15:45:38 2025 +0530

    [GLUTEN-9093][CH] Add TryCastSuite for CH backend Spark 3.4 (#9094)
---
 .../utils/clickhouse/ClickHouseTestSettings.scala  | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git 
a/gluten-ut/spark34/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala
 
b/gluten-ut/spark34/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala
index 42c9a83d80..7cfcde3995 100644
--- 
a/gluten-ut/spark34/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala
+++ 
b/gluten-ut/spark34/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala
@@ -1714,6 +1714,37 @@ class ClickHouseTestSettings extends BackendTestSettings 
{
   enableSuite[GlutenSparkSessionExtensionSuite]
   enableSuite[GlutenHiveSQLQueryCHSuite]
   enableSuite[GlutenPercentileSuite]
+  enableSuite[GlutenTryCastSuite]
+    .exclude(
+      "Process Infinity, -Infinity, NaN in case insensitive manner" // +inf 
not supported in folly.
+    )
+    .exclude("ANSI mode: Throw exception on casting out-of-range value to byte 
type")
+    .exclude("ANSI mode: Throw exception on casting out-of-range value to 
short type")
+    .exclude("ANSI mode: Throw exception on casting out-of-range value to int 
type")
+    .exclude("ANSI mode: Throw exception on casting out-of-range value to long 
type")
+    .exclude("cast from invalid string to numeric should throw 
NumberFormatException")
+    .exclude("SPARK-26218: Fix the corner case of codegen when casting float 
to Integer")
+    // Set timezone through config.
+    .exclude("data type casting")
+    .excludeCH("null cast")
+    .excludeCH("cast string to date")
+    .excludeCH("cast string to timestamp")
+    .excludeGlutenTest("cast string to timestamp")
+    .excludeCH("SPARK-22825 Cast array to string")
+    .excludeCH("SPARK-33291: Cast array with null elements to string")
+    .excludeCH("SPARK-22973 Cast map to string")
+    .excludeCH("SPARK-22981 Cast struct to string")
+    .excludeCH("SPARK-33291: Cast struct with null elements to string")
+    .excludeCH("SPARK-35111: Cast string to year-month interval")
+    .excludeCH("cast from timestamp II")
+    .excludeCH("cast a timestamp before the epoch 1970-01-01 00:00:00Z II")
+    .excludeCH("cast a timestamp before the epoch 1970-01-01 00:00:00Z")
+    .excludeCH("cast from array II")
+    .excludeCH("cast from array III")
+    .excludeCH("cast from struct III")
+    .excludeCH("ANSI mode: cast string to timestamp with parse error")
+    .excludeCH("ANSI mode: cast string to date with parse error")
+    .excludeCH("Gluten - data type casting")
 
   override def getSQLQueryTestSettings: SQLQueryTestSettings = 
ClickHouseSQLQueryTestSettings
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to