Skip to content

Commit 3bc7c03

Browse files
committed
fix test
1 parent 17bc9c0 commit 3bc7c03

File tree

1 file changed

+2
-1
lines changed
  • sql/core/src/test/scala/org/apache/spark/sql/execution/command

1 file changed

+2
-1
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,8 @@ class DDLSuite extends QueryTest with SharedSQLContext with BeforeAndAfterEach {
677677
}
678678

679679
test("create temporary view using") {
680-
val csvFile = Thread.currentThread().getContextClassLoader.getResource("cars.csv").toString()
680+
val csvFile =
681+
Thread.currentThread().getContextClassLoader.getResource("test-data/cars.csv").toString
681682
withView("testview") {
682683
sql(s"CREATE OR REPLACE TEMPORARY VIEW testview (c1: String, c2: String) USING " +
683684
"org.apache.spark.sql.execution.datasources.csv.CSVFileFormat " +

0 commit comments

Comments
 (0)