Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lgbo-ustc committed Feb 6, 2025
1 parent bc2ce9e commit 06a01e6
Show file tree
Hide file tree
Showing 4 changed files with 204 additions and 209 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ object CHBackendSettings extends BackendSettingsApi with Logging {
CHConf.prefixOf("convert.left.anti_semi.to.right")
val GLUTEN_CLICKHOUSE_CONVERT_LEFT_ANTI_SEMI_TO_RIGHT_DEFAULT_VALUE: String = "false"

val GLUTEN_ENABLE_COALESCE_AGGREGATION_UNION: String =
CHConf.prefixOf("enable.coalesce.aggregation.union")

def affinityMode: String = {
SparkEnv.get.conf
.get(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ object CHRuleApi {
(spark, parserInterface) => new GlutenCacheFilesSqlParser(spark, parserInterface))
injector.injectParser(
(spark, parserInterface) => new GlutenClickhouseSqlParser(spark, parserInterface))
injector.injectResolutionRule(spark => new CoalesceAggregationUnion(spark))
injector.injectResolutionRule(spark => new RewriteToDateExpresstionRule(spark))
injector.injectResolutionRule(spark => new RewriteDateTimestampComparisonRule(spark))
injector.injectResolutionRule(spark => new CollapseGetJsonObjectExpressionRule(spark))
Expand Down
Loading

0 comments on commit 06a01e6

Please sign in to comment.