Skip to content

Commit

Permalink
fix mima tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scwf committed May 1, 2015
1 parent c2895cf commit c19780b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ class SQLContext(@transient val sparkContext: SparkContext)
@transient
protected[sql] val ddlParser = new DDLParser((sql: String) => { getSQLDialect().parse(sql) })

// kept sqlParser to make sure mima tests pass
@transient
protected[sql] val sqlParser = new SparkSQLParser(getSQLDialect().parse(_))

protected[sql] def getSQLDialect(): Dialect = {
try {
val clazz = Utils.classForName(dialectClassName)
Expand Down

0 comments on commit c19780b

Please sign in to comment.