Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
clean
  • Loading branch information
gatorsmile committed Jun 23, 2017
commit bb8348d21221a7508710f7e1d965cceb7c183a25
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,6 @@ object FileFormatWriter extends Logging {
val partitionSet = AttributeSet(partitionColumns)
val dataColumns = allColumns.filterNot(partitionSet.contains)

queryExecution.executedPlan.output.zip(queryExecution.logical.output).foreach {
case (fieldExecuted, fieldAnalyzed) =>
if (fieldAnalyzed.name != fieldExecuted.name) {
// scalastyle:off println
println(s"analyzed: ${fieldAnalyzed.name}; executed: ${fieldExecuted.name}")
// scalastyle:on println
}
}

val bucketIdExpression = bucketSpec.map { spec =>
val bucketColumns = spec.bucketColumnNames.map(c => dataColumns.find(_.name == c).get)
// Use `HashPartitioning.partitionIdExpression` as our bucket id expression, so that we can
Expand Down