Skip to content

Commit

Permalink
added @transient for sqlParser
Browse files Browse the repository at this point in the history
  • Loading branch information
scwf committed Apr 27, 2015
1 parent fed7b58 commit 82df766
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {
Nil
}

@transient
override protected[sql] val sqlParser = {
val fallback = new ExtendedHiveQlParser
new SparkSQLParser(fallback.parse(_))
Expand Down

0 comments on commit 82df766

Please sign in to comment.