wangyum commented on a change in pull request #24391: 
[SPARK-27402][SQL][test-hadoop3.2][test-maven]  Fix hadoop-3.2 test 
issue(except the hive-thriftserver module)
URL: https://github.com/apache/spark/pull/24391#discussion_r282797101
 
 

 ##########
 File path: 
sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala
 ##########
 @@ -1371,7 +1371,7 @@ abstract class DDLSuite extends QueryTest with 
SQLTestUtils {
       // if (isUsingHiveMetastore) {
       //  assert(storageFormat.properties.get("path") === expected)
       // }
-      assert(storageFormat.locationUri === Some(expected))
+      assert(Some(storageFormat.locationUri.get.getPath) === 
Some(expected.getPath))
 
 Review comment:
   
![image](https://user-images.githubusercontent.com/5399861/57514224-8c46d980-7342-11e9-9248-2be01171dd54.png)
   Add `Some` to support both Hive 1.2 and 2.3.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to