Packages

case class InsertIntoHiveTable(table: CatalogTable, partition: Map[String, Option[String]], query: LogicalPlan, overwrite: Boolean, ifPartitionNotExists: Boolean, outputColumnNames: Seq[String], partitionColumns: Seq[Attribute], bucketSpec: Option[BucketSpec], options: Map[String, String], fileFormat: FileFormat, hiveTmpPath: HiveTempPath) extends LogicalPlan with SaveAsHiveFile with V1WriteCommand with V1WritesHiveUtils with Product with Serializable

Command for writing data out to a Hive table.

This class is mostly a mess, for legacy reasons (since it evolved in organic ways and had to follow Hive's internal implementations closely, which itself was a mess too). Please don't blame Reynold for this! He was just moving code around!

In the future we should converge the write path for Hive with the normal data source write path, as defined in org.apache.spark.sql.execution.datasources.FileFormatWriter.

table

the metadata of the table.

partition

a map from the partition key to the partition value (optional). If the partition value is optional, dynamic partition insert will be performed. As an example, INSERT INTO tbl PARTITION (a=1, b=2) AS ... would have

Map('a' -> Some('1'), 'b' -> Some('2'))

and INSERT INTO tbl PARTITION (a=1, b) AS ... would have

Map('a' -> Some('1'), 'b' -> None)

.

query

the logical plan representing data to write to.

overwrite

overwrite existing table or partitions.

ifPartitionNotExists

If true, only write if the partition does not exist. Only valid for static partitions.

Linear Supertypes
Serializable, V1WritesHiveUtils, V1WriteCommand, SaveAsHiveFile, DataWritingCommand, CTEInChildren, UnaryCommand, UnaryLike[LogicalPlan], Command, LogicalPlan, Logging, QueryPlanConstraints, ConstraintHelper, LogicalPlanDistinctKeys, LogicalPlanStats, AnalysisHelper, QueryPlan[LogicalPlan], SQLConfHelper, TreeNode[LogicalPlan], WithOrigin, TreePatternBits, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InsertIntoHiveTable
  2. Serializable
  3. V1WritesHiveUtils
  4. V1WriteCommand
  5. SaveAsHiveFile
  6. DataWritingCommand
  7. CTEInChildren
  8. UnaryCommand
  9. UnaryLike
  10. Command
  11. LogicalPlan
  12. Logging
  13. QueryPlanConstraints
  14. ConstraintHelper
  15. LogicalPlanDistinctKeys
  16. LogicalPlanStats
  17. AnalysisHelper
  18. QueryPlan
  19. SQLConfHelper
  20. TreeNode
  21. WithOrigin
  22. TreePatternBits
  23. Product
  24. Equals
  25. AnyRef
  26. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InsertIntoHiveTable(table: CatalogTable, partition: Map[String, Option[String]], query: LogicalPlan, overwrite: Boolean, ifPartitionNotExists: Boolean, outputColumnNames: Seq[String], partitionColumns: Seq[Attribute], bucketSpec: Option[BucketSpec], options: Map[String, String], fileFormat: FileFormat, hiveTmpPath: HiveTempPath)

    table

    the metadata of the table.

    partition

    a map from the partition key to the partition value (optional). If the partition value is optional, dynamic partition insert will be performed. As an example, INSERT INTO tbl PARTITION (a=1, b=2) AS ... would have

    Map('a' -> Some('1'), 'b' -> Some('2'))

    and INSERT INTO tbl PARTITION (a=1, b) AS ... would have

    Map('a' -> Some('1'), 'b' -> None)

    .

    query

    the logical plan representing data to write to.

    overwrite

    overwrite existing table or partitions.

    ifPartitionNotExists

    If true, only write if the partition does not exist. Only valid for static partitions.

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def MDC(key: LogKey, value: Any): MDC
    Attributes
    protected
    Definition Classes
    Logging
  5. def allAttributes: AttributeSeq
    Definition Classes
    QueryPlan
  6. def analyzed: Boolean
    Definition Classes
    AnalysisHelper
  7. def apply(number: Int): TreeNode[_]
    Definition Classes
    TreeNode
  8. def argString(maxFields: Int): String
    Definition Classes
    TreeNode
  9. def asCode: String
    Definition Classes
    TreeNode
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def assertNotAnalysisRule(): Unit
    Attributes
    protected
    Definition Classes
    AnalysisHelper
  12. def basicWriteJobStatsTracker(hadoopConf: Configuration): BasicWriteJobStatsTracker
    Definition Classes
    DataWritingCommand
  13. val bucketSpec: Option[BucketSpec]
    Definition Classes
    InsertIntoHiveTable → V1WriteCommand
  14. def canonicalized: LogicalPlan
    Definition Classes
    QueryPlan
  15. final def child: LogicalPlan
    Definition Classes
    DataWritingCommand → UnaryLike
  16. final lazy val children: Seq[LogicalPlan]
    Definition Classes
    UnaryLike
    Annotations
    @transient()
  17. def childrenResolved: Boolean
    Definition Classes
    LogicalPlan
  18. def clone(): LogicalPlan
    Definition Classes
    AnalysisHelper → TreeNode → AnyRef
  19. def collect[B](pf: PartialFunction[LogicalPlan, B]): Seq[B]
    Definition Classes
    TreeNode
  20. def collectFirst[B](pf: PartialFunction[LogicalPlan, B]): Option[B]
    Definition Classes
    TreeNode
  21. def collectFirstWithSubqueries[B](f: PartialFunction[LogicalPlan, B]): Option[B]
    Definition Classes
    QueryPlan
  22. def collectLeaves(): Seq[LogicalPlan]
    Definition Classes
    TreeNode
  23. def collectWithSubqueries[B](f: PartialFunction[LogicalPlan, B]): Seq[B]
    Definition Classes
    QueryPlan
  24. def conf: SQLConf
    Definition Classes
    SQLConfHelper
  25. lazy val constraints: ExpressionSet
    Definition Classes
    QueryPlanConstraints
  26. def constructIsNotNullConstraints(constraints: ExpressionSet, output: Seq[Attribute]): ExpressionSet
    Definition Classes
    ConstraintHelper
  27. final def containsAllPatterns(patterns: TreePattern*): Boolean
    Definition Classes
    TreePatternBits
  28. final def containsAnyPattern(patterns: TreePattern*): Boolean
    Definition Classes
    TreePatternBits
  29. def containsChild: Set[TreeNode[_]]
    Definition Classes
    TreeNode
  30. final def containsPattern(t: TreePattern): Boolean
    Definition Classes
    TreePatternBits
    Annotations
    @inline()
  31. def copyTagsFrom(other: LogicalPlan): Unit
    Definition Classes
    TreeNode
  32. def deterministic: Boolean
    Definition Classes
    QueryPlan
  33. lazy val distinctKeys: Set[ExpressionSet]
    Definition Classes
    LogicalPlanDistinctKeys
  34. def doCanonicalize(): LogicalPlan
    Attributes
    protected
    Definition Classes
    QueryPlan
  35. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def exists(f: (LogicalPlan) => Boolean): Boolean
    Definition Classes
    TreeNode
  37. final def expressions: Seq[Expression]
    Definition Classes
    QueryPlan
  38. def fastEquals(other: TreeNode[_]): Boolean
    Definition Classes
    TreeNode
  39. val fileFormat: FileFormat
    Definition Classes
    InsertIntoHiveTable → V1WriteCommand
  40. def find(f: (LogicalPlan) => Boolean): Option[LogicalPlan]
    Definition Classes
    TreeNode
  41. def flatMap[A](f: (LogicalPlan) => IterableOnce[A]): Seq[A]
    Definition Classes
    TreeNode
  42. def foreach(f: (LogicalPlan) => Unit): Unit
    Definition Classes
    TreeNode
  43. def foreachUp(f: (LogicalPlan) => Unit): Unit
    Definition Classes
    TreeNode
  44. def foreachWithSubqueries(f: (LogicalPlan) => Unit): Unit
    Definition Classes
    QueryPlan
  45. def formattedNodeName: String
    Attributes
    protected
    Definition Classes
    QueryPlan
  46. def generateTreeString(depth: Int, lastChildren: ArrayList[Boolean], append: (String) => Unit, verbose: Boolean, prefix: String, addSuffix: Boolean, maxFields: Int, printNodeId: Boolean, printOutputColumns: Boolean, indent: Int): Unit
    Definition Classes
    TreeNode
  47. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  48. def getDefaultTreePatternBits: BitSet
    Attributes
    protected
    Definition Classes
    TreeNode
  49. def getDynamicPartitionColumns(table: CatalogTable, partition: Map[String, Option[String]], query: LogicalPlan): Seq[Attribute]
    Definition Classes
    V1WritesHiveUtils
  50. def getMetadataAttributeByName(name: String): AttributeReference
    Definition Classes
    LogicalPlan
  51. def getMetadataAttributeByNameOpt(name: String): Option[AttributeReference]
    Definition Classes
    LogicalPlan
  52. def getOptionsWithHiveBucketWrite(bucketSpec: Option[BucketSpec]): Map[String, String]
    Definition Classes
    V1WritesHiveUtils
  53. def getPartitionSpec(partition: Map[String, Option[String]]): Map[String, String]
    Definition Classes
    V1WritesHiveUtils
  54. def getTagValue[T](tag: TreeNodeTag[T]): Option[T]
    Definition Classes
    TreeNode
  55. def hashCode(): Int
    Definition Classes
    TreeNode → AnyRef → Any
  56. def height: Int
    Definition Classes
    TreeNode
  57. val hiveTmpPath: HiveTempPath
  58. val ifPartitionNotExists: Boolean
  59. def inferAdditionalConstraints(constraints: ExpressionSet): ExpressionSet
    Definition Classes
    ConstraintHelper
  60. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  61. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def innerChildren: Seq[QueryPlan[_]]
    Definition Classes
    QueryPlan → TreeNode
  63. def inputSet: AttributeSet
    Definition Classes
    QueryPlan
  64. final def invalidateStatsCache(): Unit
    Definition Classes
    LogicalPlanStats
  65. def isCanonicalizedPlan: Boolean
    Attributes
    protected
    Definition Classes
    QueryPlan
  66. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  67. def isRuleIneffective(ruleId: RuleId): Boolean
    Attributes
    protected
    Definition Classes
    TreeNode
  68. def isStreaming: Boolean
    Definition Classes
    LogicalPlan
  69. def isTagsEmpty: Boolean
    Definition Classes
    TreeNode
  70. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  71. def jsonFields: List[JField]
    Attributes
    protected
    Definition Classes
    TreeNode
  72. final def legacyWithNewChildren(newChildren: Seq[LogicalPlan]): LogicalPlan
    Attributes
    protected
    Definition Classes
    TreeNode
  73. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  74. def logBasedOnLevel(level: Level)(f: => MessageWithContext): Unit
    Attributes
    protected
    Definition Classes
    Logging
  75. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  76. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  77. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  78. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  79. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  80. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  81. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  82. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  83. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  84. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  85. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  86. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  87. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  88. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  89. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  90. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  91. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  92. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  93. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  94. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  95. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  96. def makeCopy(newArgs: Array[AnyRef]): LogicalPlan
    Definition Classes
    TreeNode
  97. def map[A](f: (LogicalPlan) => A): Seq[A]
    Definition Classes
    TreeNode
  98. final def mapChildren(f: (LogicalPlan) => LogicalPlan): LogicalPlan
    Definition Classes
    UnaryLike
  99. def mapExpressions(f: (Expression) => Expression): InsertIntoHiveTable.this.type
    Definition Classes
    QueryPlan
  100. def mapProductIterator[B](f: (Any) => B)(implicit arg0: ClassTag[B]): Array[B]
    Attributes
    protected
    Definition Classes
    TreeNode
  101. def markRuleAsIneffective(ruleId: RuleId): Unit
    Attributes
    protected
    Definition Classes
    TreeNode
  102. def maxRows: Option[Long]
    Definition Classes
    LogicalPlan
  103. def maxRowsPerPartition: Option[Long]
    Definition Classes
    LogicalPlan
  104. def mergeTagsFrom(other: LogicalPlan): Unit
    Definition Classes
    TreeNode
  105. def metadataOutput: Seq[Attribute]
    Definition Classes
    LogicalPlan
  106. lazy val metrics: Map[String, SQLMetric]
    Definition Classes
    DataWritingCommand
  107. final def missingInput: AttributeSet
    Definition Classes
    QueryPlan
  108. def multiTransformDown(rule: PartialFunction[LogicalPlan, Seq[LogicalPlan]]): LazyList[LogicalPlan]
    Definition Classes
    TreeNode
  109. def multiTransformDownWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, Seq[LogicalPlan]]): LazyList[LogicalPlan]
    Definition Classes
    TreeNode
  110. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  111. def nodeName: String
    Definition Classes
    TreeNode
  112. final val nodePatterns: Seq[TreePattern]
    Definition Classes
    Command → TreeNode
  113. def nodeWithOutputColumnsString(maxColumns: Int): String
    Definition Classes
    QueryPlan → TreeNode
  114. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  115. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  116. def numberedTreeString: String
    Definition Classes
    TreeNode
  117. val options: Map[String, String]
    Definition Classes
    InsertIntoHiveTable → V1WriteCommand
  118. val origin: Origin
    Definition Classes
    TreeNode → WithOrigin
  119. def otherCopyArgs: Seq[AnyRef]
    Attributes
    protected
    Definition Classes
    TreeNode
  120. def output: Seq[Attribute]
    Definition Classes
    Command → QueryPlan
  121. val outputColumnNames: Seq[String]
    Definition Classes
    InsertIntoHiveTable → DataWritingCommand
  122. def outputColumns: Seq[Attribute]
    Definition Classes
    DataWritingCommand
  123. def outputOrdering: Seq[SortOrder]
    Definition Classes
    QueryPlan
  124. def outputSet: AttributeSet
    Definition Classes
    QueryPlan
  125. val overwrite: Boolean
  126. def p(number: Int): LogicalPlan
    Definition Classes
    TreeNode
  127. val partition: Map[String, Option[String]]
  128. val partitionColumns: Seq[Attribute]
    Definition Classes
    InsertIntoHiveTable → V1WriteCommand
  129. def prettyJson: String
    Definition Classes
    TreeNode
  130. def printSchema(): Unit
    Definition Classes
    QueryPlan
  131. def producedAttributes: AttributeSet
    Definition Classes
    Command → QueryPlan
  132. def productElementNames: Iterator[String]
    Definition Classes
    Product
  133. val query: LogicalPlan
    Definition Classes
    InsertIntoHiveTable → DataWritingCommand
  134. def references: AttributeSet
    Definition Classes
    QueryPlan
  135. def refresh(): Unit
    Definition Classes
    LogicalPlan
  136. def requiredOrdering: Seq[SortOrder]
    Definition Classes
    InsertIntoHiveTable → V1WriteCommand
  137. def resolve(nameParts: Seq[String], resolver: Resolver): Option[NamedExpression]
    Definition Classes
    LogicalPlan
  138. def resolve(schema: StructType, resolver: Resolver): Seq[Attribute]
    Definition Classes
    LogicalPlan
  139. def resolveChildren(nameParts: Seq[String], resolver: Resolver): Option[NamedExpression]
    Definition Classes
    LogicalPlan
  140. def resolveExpressions(r: PartialFunction[Expression, Expression]): LogicalPlan
    Definition Classes
    AnalysisHelper
  141. def resolveExpressionsDown(r: PartialFunction[Expression, Expression]): LogicalPlan
    Definition Classes
    AnalysisHelper
  142. def resolveExpressionsDownWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): LogicalPlan
    Definition Classes
    AnalysisHelper
  143. def resolveExpressionsUp(r: PartialFunction[Expression, Expression]): LogicalPlan
    Definition Classes
    AnalysisHelper
  144. def resolveExpressionsUpWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): LogicalPlan
    Definition Classes
    AnalysisHelper
  145. def resolveExpressionsWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): LogicalPlan
    Definition Classes
    AnalysisHelper
  146. def resolveOperators(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  147. def resolveOperatorsDown(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  148. def resolveOperatorsDownWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  149. def resolveOperatorsUp(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  150. def resolveOperatorsUpWithNewOutput(rule: PartialFunction[LogicalPlan, (LogicalPlan, Seq[(Attribute, Attribute)])]): LogicalPlan
    Definition Classes
    AnalysisHelper
  151. def resolveOperatorsUpWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  152. def resolveOperatorsUpWithSubqueriesAndPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  153. def resolveOperatorsWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper
  154. def resolveQuoted(name: String, resolver: Resolver): Option[NamedExpression]
    Definition Classes
    LogicalPlan
  155. lazy val resolved: Boolean
    Definition Classes
    LogicalPlan
  156. def rewriteAttrs(attrMap: AttributeMap[Attribute]): LogicalPlan
    Definition Classes
    QueryPlan
  157. def run(sparkSession: classic.SparkSession, child: SparkPlan): Seq[Row]

    Inserts all the rows in the table into Hive.

    Inserts all the rows in the table into Hive. Row objects are properly serialized with the org.apache.hadoop.hive.serde2.SerDe and the org.apache.hadoop.mapred.OutputFormat provided by the table definition.

    Definition Classes
    InsertIntoHiveTable → DataWritingCommand
  158. def sameOutput(other: LogicalPlan): Boolean
    Definition Classes
    LogicalPlan
  159. final def sameResult(other: LogicalPlan): Boolean
    Definition Classes
    QueryPlan
  160. def saveAsHiveFile(sparkSession: classic.SparkSession, plan: SparkPlan, hadoopConf: Configuration, fileFormat: FileFormat, outputLocation: String, customPartitionLocations: Map[TablePartitionSpec, String] = Map.empty, partitionAttributes: Seq[Attribute] = Nil, bucketSpec: Option[BucketSpec] = None, options: Map[String, String] = Map.empty): Set[String]
    Attributes
    protected
    Definition Classes
    SaveAsHiveFile
  161. def schema: StructType
    Definition Classes
    QueryPlan
  162. def schemaString: String
    Definition Classes
    QueryPlan
  163. final def semanticHash(): Int
    Definition Classes
    QueryPlan
  164. def setTagValue[T](tag: TreeNodeTag[T], value: T): Unit
    Definition Classes
    TreeNode
  165. def setupHadoopConfForCompression(fileSinkConf: FileSinkDesc, hadoopConf: Configuration, sparkSession: SparkSession): Unit
    Definition Classes
    V1WritesHiveUtils
  166. def simpleString(maxFields: Int): String
    Definition Classes
    QueryPlan → TreeNode
  167. def simpleStringWithNodeId(): String
    Definition Classes
    QueryPlan → TreeNode
  168. def statePrefix: String
    Attributes
    protected
    Definition Classes
    LogicalPlan → QueryPlan
  169. def staticPartitions: TablePartitionSpec
    Definition Classes
    InsertIntoHiveTable → V1WriteCommand
  170. def stats: Statistics
    Definition Classes
    Command → LogicalPlanStats
  171. val statsCache: Option[Statistics]
    Attributes
    protected
    Definition Classes
    LogicalPlanStats
  172. def stringArgs: Iterator[Any]
    Attributes
    protected
    Definition Classes
    TreeNode
  173. def subqueries: Seq[LogicalPlan]
    Definition Classes
    QueryPlan
  174. def subqueriesAll: Seq[LogicalPlan]
    Definition Classes
    QueryPlan
  175. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  176. val table: CatalogTable
  177. def toJSON: String
    Definition Classes
    TreeNode
  178. def toString(): String
    Definition Classes
    TreeNode → AnyRef → Any
  179. def transform(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  180. def transformAllExpressions(rule: PartialFunction[Expression, Expression]): InsertIntoHiveTable.this.type
    Definition Classes
    QueryPlan
  181. def transformAllExpressionsWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): InsertIntoHiveTable.this.type
    Definition Classes
    AnalysisHelper → QueryPlan
  182. def transformAllExpressionsWithSubqueries(rule: PartialFunction[Expression, Expression]): InsertIntoHiveTable.this.type
    Definition Classes
    QueryPlan
  183. def transformDown(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  184. def transformDownWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper → TreeNode
  185. def transformDownWithSubqueries(f: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    QueryPlan
  186. def transformDownWithSubqueriesAndPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(f: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    QueryPlan
  187. def transformExpressions(rule: PartialFunction[Expression, Expression]): InsertIntoHiveTable.this.type
    Definition Classes
    QueryPlan
  188. def transformExpressionsDown(rule: PartialFunction[Expression, Expression]): InsertIntoHiveTable.this.type
    Definition Classes
    QueryPlan
  189. def transformExpressionsDownWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): InsertIntoHiveTable.this.type
    Definition Classes
    QueryPlan
  190. def transformExpressionsUp(rule: PartialFunction[Expression, Expression]): InsertIntoHiveTable.this.type
    Definition Classes
    QueryPlan
  191. def transformExpressionsUpWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): InsertIntoHiveTable.this.type
    Definition Classes
    QueryPlan
  192. def transformExpressionsWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[Expression, Expression]): InsertIntoHiveTable.this.type
    Definition Classes
    QueryPlan
  193. def transformUp(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  194. def transformUpWithBeforeAndAfterRuleOnChildren(cond: (LogicalPlan) => Boolean, ruleId: RuleId)(rule: PartialFunction[(LogicalPlan, LogicalPlan), LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  195. def transformUpWithNewOutput(rule: PartialFunction[LogicalPlan, (LogicalPlan, Seq[(Attribute, Attribute)])], skipCond: (LogicalPlan) => Boolean, canGetOutput: (LogicalPlan) => Boolean): LogicalPlan
    Definition Classes
    AnalysisHelper → QueryPlan
  196. def transformUpWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    AnalysisHelper → TreeNode
  197. def transformUpWithSubqueries(f: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    QueryPlan
  198. def transformUpWithSubqueriesAndPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(f: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    QueryPlan
  199. def transformWithPruning(cond: (TreePatternBits) => Boolean, ruleId: RuleId)(rule: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  200. def transformWithSubqueries(f: PartialFunction[LogicalPlan, LogicalPlan]): LogicalPlan
    Definition Classes
    QueryPlan
  201. def treePatternBits: BitSet
    Definition Classes
    QueryPlan → TreeNode → TreePatternBits
  202. def treeString(append: (String) => Unit, verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean, printOutputColumns: Boolean): Unit
    Definition Classes
    TreeNode
  203. final def treeString(verbose: Boolean, addSuffix: Boolean, maxFields: Int, printOperatorId: Boolean, printOutputColumns: Boolean): String
    Definition Classes
    TreeNode
  204. final def treeString: String
    Definition Classes
    TreeNode
  205. def unsetTagValue[T](tag: TreeNodeTag[T]): Unit
    Definition Classes
    TreeNode
  206. def updateOuterReferencesInSubquery(plan: LogicalPlan, attrMap: AttributeMap[Attribute]): LogicalPlan
    Definition Classes
    AnalysisHelper → QueryPlan
  207. lazy val validConstraints: ExpressionSet
    Attributes
    protected
    Definition Classes
    QueryPlanConstraints
  208. final def validateNodePatterns(): Unit
    Definition Classes
    QueryPlan → TreeNode
  209. def verboseString(maxFields: Int): String
    Definition Classes
    QueryPlan → TreeNode
  210. def verboseStringWithOperatorId(): String
    Definition Classes
    QueryPlan
  211. def verboseStringWithSuffix(maxFields: Int): String
    Definition Classes
    LogicalPlan → TreeNode
  212. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  213. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  214. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  215. def withCTEDefs(cteDefs: Seq[CTERelationDef]): LogicalPlan
    Definition Classes
    CTEInChildren
  216. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging
  217. def withNewChildInternal(newChild: LogicalPlan): InsertIntoHiveTable
    Attributes
    protected
    Definition Classes
    InsertIntoHiveTable → UnaryLike
  218. final def withNewChildren(newChildren: Seq[LogicalPlan]): LogicalPlan
    Definition Classes
    TreeNode
  219. final def withNewChildrenInternal(newChildren: IndexedSeq[LogicalPlan]): LogicalPlan
    Definition Classes
    UnaryLike
  220. def withSQLConf[T](pairs: (String, String)*)(f: => T): T
    Attributes
    protected
    Definition Classes
    SQLConfHelper

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from V1WritesHiveUtils

Inherited from V1WriteCommand

Inherited from SaveAsHiveFile

Inherited from DataWritingCommand

Inherited from CTEInChildren

Inherited from UnaryCommand

Inherited from UnaryLike[LogicalPlan]

Inherited from Command

Inherited from LogicalPlan

Inherited from Logging

Inherited from QueryPlanConstraints

Inherited from ConstraintHelper

Inherited from LogicalPlanDistinctKeys

Inherited from LogicalPlanStats

Inherited from AnalysisHelper

Inherited from QueryPlan[LogicalPlan]

Inherited from SQLConfHelper

Inherited from TreeNode[LogicalPlan]

Inherited from WithOrigin

Inherited from TreePatternBits

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped