Skip to content

Commit 27d25bf

Browse files
committed
fix hive tests
1 parent 9137e03 commit 27d25bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ class MetastoreDataSourcesSuite extends QueryTest with BeforeAndAfterEach {
579579
Row(3) :: Row(4) :: Nil
580580
)
581581

582-
table("test_parquet_ctas").queryExecution.analyzed match {
582+
table("test_parquet_ctas").queryExecution.optimizedPlan match {
583583
case LogicalRelation(p: ParquetRelation2) => // OK
584584
case _ =>
585585
fail(

sql/hive/src/test/scala/org/apache/spark/sql/hive/parquetSuites.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class ParquetDataSourceOnMetastoreSuite extends ParquetMetastoreSuiteBase {
292292
Seq(Row(1, "str1"))
293293
)
294294

295-
table("test_parquet_ctas").queryExecution.analyzed match {
295+
table("test_parquet_ctas").queryExecution.optimizedPlan match {
296296
case LogicalRelation(p: ParquetRelation2) => // OK
297297
case _ =>
298298
fail(

0 commit comments

Comments
 (0)