Skip to content

Commit

Permalink
set CASE_SENSITIVE false in TestHive
Browse files Browse the repository at this point in the history
  • Loading branch information
scwf committed Apr 30, 2015
1 parent 966e719 commit 5d7c456
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import org.apache.spark.{SparkConf, SparkContext}

import scala.collection.mutable
import scala.language.implicitConversions
import org.apache.spark.sql.catalyst.CatalystConf

/* Implicit conversions */
import scala.collection.JavaConversions._
Expand Down Expand Up @@ -108,6 +109,7 @@ class TestHiveContext(sc: SparkContext) extends HiveContext(sc) {
protected[sql] override lazy val conf: SQLConf = new SQLConf {
override def numShufflePartitions: Int = getConf(SQLConf.SHUFFLE_PARTITIONS, "5").toInt
override def dialect: String = getConf(SQLConf.DIALECT, "hiveql")
setConf(CatalystConf.CASE_SENSITIVE, "false")
}
}

Expand Down

0 comments on commit 5d7c456

Please sign in to comment.