All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.mlsql.sqlbooster.MaterializedViewOptimizeRewrite.scala Maven / Gradle / Ivy

Go to download

A library for optimizing/rewriting/auditing SQL and easy to plugin new strategies

There is a newer version: 0.4.0
Show newest version
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