Skip to content

Commit

Permalink
update to the code to work with latest version spark1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
OopsOutOfMemory committed Dec 20, 2014
1 parent 15f55d2 commit d3c8a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ organization := "org.apache.spark.sql"

scalaVersion := "2.10.4"

libraryDependencies += "org.apache.spark" %% "spark-sql" % "1.2.0-SNAPSHOT"
libraryDependencies += "org.apache.spark" % "spark-sql_2.10" % "1.2.0"

libraryDependencies += "org.apache.avro" % "avro" % "1.7.7"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import org.apache.spark.sql.sources.{TableScan, BaseRelation}
import scala.collection.JavaConversions._

case class AvroRelation(location: String)(@transient val sqlContext: SQLContext)
extends BaseRelation with TableScan {
extends TableScan {

val schema = {
val fileReader = newReader()
Expand Down

0 comments on commit d3c8a2b

Please sign in to comment.