gatorsmile 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_r282767952
##########
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:
Do we need to add `Some`?
What is the reason we need to change this test case?
----------------------------------------------------------------
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]