Skip to content

Commit f1f686d

Browse files
committed
[SPARK-48763][TESTS][FOLLOW-UP] Update project location in PlanGenerationTestSuite
### What changes were proposed in this pull request? This PR is a followup of #47579 that updates the Spark Connect location in the test `PlanGenerationTestSuite`. ### Why are the changes needed? Just for completeness. ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? Manually ran it via: ```bash SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "connect-client-jvm/testOnly org.apache.spark.sql.PlanGenerationTestSuite" ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes #47605 from HyukjinKwon/SPARK-48763-followup2. Authored-by: Hyukjin Kwon <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
1 parent 6bf6088 commit f1f686d

File tree

13 files changed

+8
-6
lines changed

13 files changed

+8
-6
lines changed

connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/PlanGenerationTestSuite.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ class PlanGenerationTestSuite
9292
// with the datasource.
9393
protected val testDataPath: Path = java.nio.file.Paths.get(
9494
"../",
95+
"sql",
96+
"connect",
9597
"common",
9698
"src",
9799
"test",

sql/connect/common/src/test/resources/query-tests/queries/read.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"header": "true",
1111
"delimiter": ";"
1212
},
13-
"paths": ["../common/src/test/resources/query-tests/test-data/people.csv"]
13+
"paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/people.csv"]
1414
}
1515
}
1616
}
Binary file not shown.

sql/connect/common/src/test/resources/query-tests/queries/read_csv.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"read": {
66
"dataSource": {
77
"format": "csv",
8-
"paths": ["../common/src/test/resources/query-tests/test-data/people.csv"]
8+
"paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/people.csv"]
99
}
1010
}
1111
}
Binary file not shown.

sql/connect/common/src/test/resources/query-tests/queries/read_json.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"read": {
66
"dataSource": {
77
"format": "json",
8-
"paths": ["../common/src/test/resources/query-tests/test-data/people.json"]
8+
"paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/people.json"]
99
}
1010
}
1111
}
Binary file not shown.

sql/connect/common/src/test/resources/query-tests/queries/read_orc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"read": {
66
"dataSource": {
77
"format": "orc",
8-
"paths": ["../common/src/test/resources/query-tests/test-data/users.orc"]
8+
"paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/users.orc"]
99
}
1010
}
1111
}
Binary file not shown.

sql/connect/common/src/test/resources/query-tests/queries/read_parquet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"read": {
66
"dataSource": {
77
"format": "parquet",
8-
"paths": ["../common/src/test/resources/query-tests/test-data/users.parquet"]
8+
"paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/users.parquet"]
99
}
1010
}
1111
}

0 commit comments

Comments
 (0)