SaveAsHiveFile Contract — DataWritingCommands That Write Query Result As Hive Files

SaveAsHiveFile is the extension of the DataWritingCommand contract for commands that saveAsHiveFile.

Table 1. SaveAsHiveFiles
SaveAsHiveFile Description

InsertIntoHiveDirCommand

InsertIntoHiveTable

saveAsHiveFile Method

saveAsHiveFile(
  sparkSession: SparkSession,
  plan: SparkPlan,
  hadoopConf: Configuration,
  fileSinkConf: FileSinkDesc,
  outputLocation: String,
  customPartitionLocations: Map[TablePartitionSpec, String] = Map.empty,
  partitionAttributes: Seq[Attribute] = Nil): Set[String]

saveAsHiveFile…​FIXME

Note

saveAsHiveFile is used when:

results matching ""

    No results matching ""