From 67af9ca99bf11cf76671ef47b6c8ac0fc3cd1013 Mon Sep 17 00:00:00 2001 From: taiyang-li <654010905@qq.com> Date: Thu, 11 Jul 2024 15:10:36 +0800 Subject: [PATCH] add suite --- .../apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala | 1 + .../apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala | 2 ++ .../apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala | 1 + .../apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala | 1 + 4 files changed, 5 insertions(+) diff --git a/gluten-ut/spark32/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala b/gluten-ut/spark32/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala index 8fd68d5170b93..6ee1ef57e98f9 100644 --- a/gluten-ut/spark32/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala +++ b/gluten-ut/spark32/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala @@ -2189,6 +2189,7 @@ class ClickHouseTestSettings extends BackendTestSettings { enableSuite[SparkFunctionStatistics] enableSuite[GlutenSparkSessionExtensionSuite] enableSuite[GlutenHiveSQLQueryCHSuite] + enableSuite[GlutenPercentileSuite] override def getSQLQueryTestSettings: SQLQueryTestSettings = ClickHouseSQLQueryTestSettings } diff --git a/gluten-ut/spark33/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala b/gluten-ut/spark33/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala index f69598adf5552..b80a6a9c4b5eb 100644 --- a/gluten-ut/spark33/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala +++ b/gluten-ut/spark33/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala @@ -21,6 +21,7 @@ import org.apache.gluten.utils.{BackendTestSettings, SQLQueryTestSettings} import org.apache.spark.sql._ import org.apache.spark.sql.GlutenTestConstants.GLUTEN_TEST import org.apache.spark.sql.catalyst.expressions._ +import org.apache.spark.sql.catalyst.expressions.aggregate._ import org.apache.spark.sql.connector._ import org.apache.spark.sql.errors._ import org.apache.spark.sql.execution._ @@ -2048,6 +2049,7 @@ class ClickHouseTestSettings extends BackendTestSettings { .excludeGlutenTest("fallbackSummary with cached data and shuffle") enableSuite[GlutenSparkSessionExtensionSuite] enableSuite[GlutenHiveSQLQueryCHSuite] + enableSuite[GlutenPercentileSuite] override def getSQLQueryTestSettings: SQLQueryTestSettings = ClickHouseSQLQueryTestSettings } 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 ab288e835b127..b53eac1c0287d 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 @@ -1884,6 +1884,7 @@ class ClickHouseTestSettings extends BackendTestSettings { enableSuite[SparkFunctionStatistics] enableSuite[GlutenSparkSessionExtensionSuite] enableSuite[GlutenHiveSQLQueryCHSuite] + enableSuite[GlutenPercentileSuite] override def getSQLQueryTestSettings: SQLQueryTestSettings = ClickHouseSQLQueryTestSettings } diff --git a/gluten-ut/spark35/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala b/gluten-ut/spark35/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala index ab288e835b127..b53eac1c0287d 100644 --- a/gluten-ut/spark35/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala +++ b/gluten-ut/spark35/src/test/scala/org/apache/gluten/utils/clickhouse/ClickHouseTestSettings.scala @@ -1884,6 +1884,7 @@ class ClickHouseTestSettings extends BackendTestSettings { enableSuite[SparkFunctionStatistics] enableSuite[GlutenSparkSessionExtensionSuite] enableSuite[GlutenHiveSQLQueryCHSuite] + enableSuite[GlutenPercentileSuite] override def getSQLQueryTestSettings: SQLQueryTestSettings = ClickHouseSQLQueryTestSettings }