tech.mlsql.sqlbooster.MaterializedViewOptimizeRewrite.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sql-booster Show documentation
Show all versions of sql-booster Show documentation
A library for optimizing/rewriting/auditing SQL and easy to plugin new strategies
package tech.mlsql.sqlbooster
import org.apache.spark.sql.catalyst.optimizer.RewriteTableToViews
import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan
import org.apache.spark.sql.catalyst.rules.RuleExecutor
/**
* 2019-07-16 WilliamZhu([email protected])
*/
object MaterializedViewOptimizeRewrite extends RuleExecutor[LogicalPlan] {
val batches =
Batch("Materialized view rewrite", Once,
RewriteTableToViews) :: Nil
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy