cloud-fan commented on a change in pull request #32411:
URL: https://github.com/apache/spark/pull/32411#discussion_r633636947
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/sources/CreateTableAsSelectSuite.scala
##########
@@ -235,10 +235,10 @@ class CreateTableAsSelectSuite extends DataSourceTest
with SharedSparkSession {
}
test("create table using as select - with overridden max number of buckets")
{
- def createTableSql(numBuckets: Int): String =
+ def createTableSql(tablePath: String, numBuckets: Int): String =
s"""
|CREATE TABLE t USING PARQUET
- |OPTIONS (PATH '${path.toURI}')
+ |OPTIONS (PATH '$tablePath')
Review comment:
is this change necessary? it `beforeEach` we create a new temp dir and
assign it to `path`.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]