Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ case class HiveTableScan(
@transient
private[this] val hiveExtraConf = new HiveConf(context.hiveconf)

// append columns ids and names before broadcast
addColumnMetadataToConf(hiveExtraConf)

@transient
private[this] val hadoopReader =
new HadoopTableReader(attributes, relation, context, hiveExtraConf)
Expand Down Expand Up @@ -107,8 +110,6 @@ case class HiveTableScan(
hiveConf.set(serdeConstants.LIST_COLUMNS, relation.attributes.map(_.name).mkString(","))
}

addColumnMetadataToConf(hiveExtraConf)

/**
* Prunes partitions not involve the query plan.
*
Expand Down