执行计划实现类
| 描述
|
org.apache.spark.sql.execution.datasources.LogicalRelation
| 一样平常用于解析字段级的关联关系
|
org.apache.spark.sql.catalyst.catalog.HiveTableRelation
| Hive 表关联关系的执行计划,一样平常用于SQL执行时,存在关联查询的情况会出现该执行计划。
|
org.apache.spark.sql.hive.execution.InsertIntoHiveTable
| 一样平常是在执行insert into 的SQL 语句时才会产生的执行计划,比方insert into xxx_table(colum1,column2) values("4","zhangsan")
|
org.apache.spark.sql.execution.datasources
.InsertIntoHadoopFsRelationCommand
| 一样平常用于执行类似 sparkSession
.read
.table("xx_source_table ")
.limit(10)
.write
.mode(SaveMode.Append)
.insertInto("xx_target_table ")产生的执行计划。
|
org.apache.spark.sql.hive.execution.
CreateHiveTableAsSelectCommand
| 一样平常是在执行create table xxx_table as的SQL 语句时才会产生的执行计划,比方create table xx_target_table as select * from xx_source_table
|
org.apache.spark.sql.execution.command
.CreateDataSourceTableAsSelectCommand
| 一样平常用于执行类似sparkSession
.read
.table("xx_source_table")
.limit(10)
.write
.mode(SaveMode.Append)
.saveAsTable("xx_target_table")产生的执行计划。
|
org.apache.spark.sql.execution.datasources
.InsertIntoDataSourceCommand
| 一样平常用于将SQL查询结果写入到一张表中,比如insert into xxx_target_table select * from xxx_source_table
|