case classRelationConversions(conf: SQLConf, sessionCatalog: HiveSessionCatalog) extends Rule[LogicalPlan] with Product with Serializable
Relation conversion from metastore relations to data source relations for better performance
- 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.
Relation conversion from metastore relations to data source relations for better performance
- 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
andHiveAnalysis
.