Skip to content

Commit

Permalink
fix compile problem
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlyn committed Feb 3, 2015
1 parent 7470901 commit 63d170a
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ private[hive] object HiveShim {
val version = "0.12.0"

def getTableDesc(
serdeClass: Class[_ <: Deserializer],
inputFormatClass: Class[_ <: InputFormat[_, _]],
outputFormatClass: Class[_],
properties: Properties) = {
serdeClass: Class[_ <: Deserializer],
inputFormatClass: Class[_ <: InputFormat[_, _]],
outputFormatClass: Class[_],
properties: Properties) = {
new TableDesc(serdeClass, inputFormatClass, outputFormatClass, properties)
}

Expand Down Expand Up @@ -187,7 +187,7 @@ private[hive] object HiveShim {

def getStatsSetupConstRawDataSize = StatsSetupConst.RAW_DATA_SIZE

def createDefaultDBIfNeeded(context: HiveContext) = { }
def createDefaultDBIfNeeded(context: HiveContext) = {}

def getCommandProcessor(cmd: Array[String], conf: HiveConf) = {
CommandProcessorFactory.get(cmd(0), conf)
Expand All @@ -208,7 +208,7 @@ private[hive] object HiveShim {

def getDataLocationPath(p: Partition) = p.getPartitionPath

def getAllPartitionsOf(client: Hive, tbl: Table) = client.getAllPartitionsForPruner(tbl)
def getAllPartitionsOf(client: Hive, tbl: Table) = client.getAllPartitionsForPruner(tbl)

def compatibilityBlackList = Seq(
"decimal_.*",
Expand Down Expand Up @@ -250,6 +250,7 @@ private[hive] object HiveShim {
def prepareWritable(w: Writable): Writable = {
w
}
}

class ShimFileSinkDesc(var dir: String, var tableInfo: TableDesc, var compressed: Boolean)
extends FileSinkDesc(dir, tableInfo, compressed) {
Expand Down

0 comments on commit 63d170a

Please sign in to comment.