Skip to content

Commit 17b275c

Browse files
committed
Ignore CH relevant tests
1 parent 62be167 commit 17b275c

5 files changed

Lines changed: 24 additions & 0 deletions

File tree

gluten-ut/spark33/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
124124
.exclude("SPARK-37369: Avoid redundant ColumnarToRow transition on InMemoryTableScan")
125125
.exclude("analyzes column statistics in cached query")
126126
.excludeGlutenTest("InMemoryRelation statistics")
127+
// Needs to rewrite TimestampNTZType.
128+
.excludeGlutenTest("SPARK-36120: Support cache/uncache table with TimestampNTZ type")
127129
enableSuite[GlutenColumnExpressionSuite]
128130
.exclude("input_file_name, input_file_block_start, input_file_block_length - FileScanRDD")
129131
.exclude("withField should add field with no name")

gluten-ut/spark34/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
126126
.exclude("SPARK-37369: Avoid redundant ColumnarToRow transition on InMemoryTableScan")
127127
.exclude("analyzes column statistics in cached query")
128128
.excludeGlutenTest("InMemoryRelation statistics")
129+
// Needs to rewrite TimestampNTZType.
130+
.excludeGlutenTest("SPARK-36120: Support cache/uncache table with TimestampNTZ type")
129131
enableSuite[GlutenColumnExpressionSuite]
130132
.exclude("input_file_name, input_file_block_start, input_file_block_length - FileScanRDD")
131133
.exclude("withField should add field with no name")

gluten-ut/spark35/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
354354
// Extra ColumnarToRow is needed to transform vanilla columnar data to gluten columnar data.
355355
.includeCH("SPARK-37369: Avoid redundant ColumnarToRow transition on InMemoryTableScan")
356356
.excludeCH("Gluten - InMemoryRelation statistics")
357+
// Needs to rewrite TimestampNTZType.
358+
.excludeGlutenTest("SPARK-36120: Support cache/uncache table with TimestampNTZ type")
357359
enableSuite[GlutenCastSuite]
358360
.exclude(
359361
"Process Infinity, -Infinity, NaN in case insensitive manner" // +inf not supported in folly.
@@ -716,6 +718,10 @@ class ClickHouseTestSettings extends BackendTestSettings {
716718
.excludeCH("SPARK-31896: Handle am-pm timestamp parsing when hour is missing")
717719
.excludeCH("UNIX_SECONDS")
718720
.excludeCH("TIMESTAMP_SECONDS")
721+
// TimestampNTZ evaluation is not supported.
722+
.excludeCH("Seconds")
723+
.excludeCH("Minute")
724+
.excludeGlutenTest("Hour")
719725
enableSuite[GlutenDateFunctionsSuite]
720726
// The below two are replaced by two modified versions.
721727
.exclude("unix_timestamp")
@@ -731,6 +737,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
731737
.excludeCH("SPARK-30793: truncate timestamps before the epoch to seconds and minutes")
732738
.excludeCH("try_to_timestamp")
733739
.excludeCH("Gluten - to_unix_timestamp")
740+
.excludeCH("Seconds")
741+
.excludeCH("Minute")
734742
enableSuite[GlutenDecimalExpressionSuite]
735743
enableSuite[GlutenDecimalPrecisionSuite]
736744
enableSuite[GlutenDeleteFromTableSuite]

gluten-ut/spark40/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
353353
// Extra ColumnarToRow is needed to transform vanilla columnar data to gluten columnar data.
354354
.includeCH("SPARK-37369: Avoid redundant ColumnarToRow transition on InMemoryTableScan")
355355
.excludeCH("Gluten - InMemoryRelation statistics")
356+
// Needs to rewrite TimestampNTZType.
357+
.excludeGlutenTest("SPARK-36120: Support cache/uncache table with TimestampNTZ type")
356358
enableSuite[GlutenCastWithAnsiOffSuite]
357359
.exclude(
358360
"Process Infinity, -Infinity, NaN in case insensitive manner" // +inf not supported in folly.
@@ -703,6 +705,10 @@ class ClickHouseTestSettings extends BackendTestSettings {
703705
.excludeCH("SPARK-31896: Handle am-pm timestamp parsing when hour is missing")
704706
.excludeCH("UNIX_SECONDS")
705707
.excludeCH("TIMESTAMP_SECONDS")
708+
// TimestampNTZ evaluation is not supported.
709+
.excludeCH("Seconds")
710+
.excludeCH("Minute")
711+
.excludeGlutenTest("Hour")
706712
enableSuite[GlutenDateFunctionsSuite]
707713
// The below two are replaced by two modified versions.
708714
.exclude("unix_timestamp")

gluten-ut/spark41/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ class ClickHouseTestSettings extends BackendTestSettings {
353353
// Extra ColumnarToRow is needed to transform vanilla columnar data to gluten columnar data.
354354
.includeCH("SPARK-37369: Avoid redundant ColumnarToRow transition on InMemoryTableScan")
355355
.excludeCH("Gluten - InMemoryRelation statistics")
356+
// Needs to rewrite TimestampNTZType.
357+
.excludeGlutenTest("SPARK-36120: Support cache/uncache table with TimestampNTZ type")
356358
enableSuite[GlutenCastWithAnsiOffSuite]
357359
.exclude(
358360
"Process Infinity, -Infinity, NaN in case insensitive manner" // +inf not supported in folly.
@@ -703,6 +705,10 @@ class ClickHouseTestSettings extends BackendTestSettings {
703705
.excludeCH("SPARK-31896: Handle am-pm timestamp parsing when hour is missing")
704706
.excludeCH("UNIX_SECONDS")
705707
.excludeCH("TIMESTAMP_SECONDS")
708+
// TimestampNTZ evaluation is not supported.
709+
.excludeCH("Seconds")
710+
.excludeCH("Minute")
711+
.excludeGlutenTest("Hour")
706712
enableSuite[GlutenDateFunctionsSuite]
707713
// The below two are replaced by two modified versions.
708714
.exclude("unix_timestamp")

0 commit comments

Comments
 (0)