All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hydrosphere.mist.lib.spark1.HiveSupport.scala Maven / Gradle / Ivy

There is a newer version: 0.13.3
Show newest version
package io.hydrosphere.mist.lib.spark1

import org.apache.spark.sql.hive.HiveContext

trait HiveSupport extends ContextSupport {

  private var _hiveContext: HiveContext = _

  protected def hiveContext: HiveContext = _hiveContext

  override private[mist] def setup(conf: SetupConfiguration): Unit = {
    super.setup(conf)
    _hiveContext = new HiveContext(conf.context)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy