Skip to content

Commit 9bf4cc7

Browse files
author
Jacky Li
committed
fix bug in catalyst
1 parent 005c56d commit 9bf4cc7

File tree

1 file changed

+2
-2
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis

1 file changed

+2
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ import org.apache.spark.sql.catalyst.rules._
2525
import org.apache.spark.sql.catalyst.types.StructType
2626
import org.apache.spark.sql.catalyst.types.IntegerType
2727
import org.apache.spark.sql.catalyst.CatalystConf
28-
import org.apache.spark.sql.catalyst.EmptyConf
28+
import org.apache.spark.sql.catalyst.test.SimpleConf
2929

3030
/**
3131
* A trivial [[Analyzer]] with an [[EmptyCatalog]] and [[EmptyFunctionRegistry]]. Used for testing
3232
* when all relations are already filled in and the analyser needs only to resolve attribute
3333
* references.
3434
*/
35-
object SimpleAnalyzer extends Analyzer(EmptyCatalog, EmptyFunctionRegistry, EmptyConf)
35+
object SimpleAnalyzer extends Analyzer(EmptyCatalog, EmptyFunctionRegistry, new SimpleConf)
3636

3737
/**
3838
* Provides a logical query plan analyzer, which translates [[UnresolvedAttribute]]s and

0 commit comments

Comments
 (0)