public class RelationConversions
extends org.apache.spark.sql.catalyst.rules.Rule<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan>
implements scala.Product, scala.Serializable
- When writing to non-partitioned Hive-serde Parquet/Orc tables - When scanning Hive-serde Parquet/ORC tables
This rule must be run before all other DDL post-hoc resolution rules, i.e.
PreprocessTableCreation
, PreprocessTableInsertion
, DataSourceAnalysis
and HiveAnalysis
.
Constructor and Description |
---|
RelationConversions(org.apache.spark.sql.internal.SQLConf conf,
org.apache.spark.sql.hive.HiveSessionCatalog sessionCatalog) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.catalyst.plans.logical.LogicalPlan |
apply(org.apache.spark.sql.catalyst.plans.logical.LogicalPlan plan) |
abstract static boolean |
canEqual(Object that) |
org.apache.spark.sql.internal.SQLConf |
conf() |
abstract static boolean |
equals(Object that) |
abstract static int |
productArity() |
abstract static Object |
productElement(int n) |
static scala.collection.Iterator<Object> |
productIterator() |
static String |
productPrefix() |
static String |
ruleName() |
org.apache.spark.sql.hive.HiveSessionCatalog |
sessionCatalog() |
initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log__$eq, org$apache$spark$internal$Logging$$log_, ruleName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
productArity, productElement, productIterator, productPrefix
initializeLogging, log_
public RelationConversions(org.apache.spark.sql.internal.SQLConf conf, org.apache.spark.sql.hive.HiveSessionCatalog sessionCatalog)
public static String ruleName()
public abstract static boolean canEqual(Object that)
public abstract static boolean equals(Object that)
public abstract static Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<Object> productIterator()
public static String productPrefix()
public org.apache.spark.sql.internal.SQLConf conf()
public org.apache.spark.sql.hive.HiveSessionCatalog sessionCatalog()
public org.apache.spark.sql.catalyst.plans.logical.LogicalPlan apply(org.apache.spark.sql.catalyst.plans.logical.LogicalPlan plan)
apply
in class org.apache.spark.sql.catalyst.rules.Rule<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan>