Skip to content

Commit

Permalink
Cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
concretevitamin committed Jul 29, 2014
1 parent 84301a4 commit dcff9bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ private[hive] case class MetastoreRelation

// TODO: are there any stats in hiveQlTable.getSkewedInfo that we can use?
@transient override lazy val estimates = new Estimates {
// TODO: check if this estimate is valid for tables after partition pruning.
// Size getters adapted from SizeBasedBigTableSelectorForAutoSMJ.java in Hive (version 0.13).
override lazy val sizeInBytes: Long =
maybeGetSize(hiveConf, hiveQlTable.getProperty("totalSize"), path)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@

package org.apache.spark.sql.hive.execution

import org.apache.spark.sql.execution.{BuildRight, BroadcastHashJoin}

import scala.util.Try

import org.apache.spark.sql.{SchemaRDD, Row}
import org.apache.spark.sql.hive.MetastoreRelation
import org.apache.spark.sql.hive.test.TestHive
import org.apache.spark.sql.hive.test.TestHive._
import org.apache.spark.sql.{Row, SchemaRDD}

case class TestData(a: Int, b: String)

Expand Down

0 comments on commit dcff9bd

Please sign in to comment.