You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ya...@apache.org on 2024/08/05 12:28:50 UTC
(spark) branch master updated: Revert "[SPARK-48763][TESTS][FOLLOW-UP] Update project location in PlanGenerationTestSuite"
This is an automated email from the ASF dual-hosted git repository.
yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 79cb09627b43 Revert "[SPARK-48763][TESTS][FOLLOW-UP] Update project location in PlanGenerationTestSuite"
79cb09627b43 is described below
commit 79cb09627b4374b47e677dd16a009d2c1ff6db0f
Author: Kent Yao <ya...@apache.org>
AuthorDate: Mon Aug 5 20:28:29 2024 +0800
Revert "[SPARK-48763][TESTS][FOLLOW-UP] Update project location in PlanGenerationTestSuite"
This reverts commit f1f686dbf57c101ae6c0d88c927f64d0470f2615.
---
.../org/apache/spark/sql/PlanGenerationTestSuite.scala | 2 --
.../src/test/resources/query-tests/queries/read.json | 2 +-
.../test/resources/query-tests/queries/read.proto.bin | Bin 154 -> 142 bytes
.../test/resources/query-tests/queries/read_csv.json | 2 +-
.../resources/query-tests/queries/read_csv.proto.bin | Bin 88 -> 76 bytes
.../test/resources/query-tests/queries/read_json.json | 2 +-
.../resources/query-tests/queries/read_json.proto.bin | Bin 90 -> 78 bytes
.../test/resources/query-tests/queries/read_orc.json | 2 +-
.../resources/query-tests/queries/read_orc.proto.bin | Bin 87 -> 75 bytes
.../resources/query-tests/queries/read_parquet.json | 2 +-
.../query-tests/queries/read_parquet.proto.bin | Bin 95 -> 83 bytes
.../test/resources/query-tests/queries/read_text.json | 2 +-
.../resources/query-tests/queries/read_text.proto.bin | Bin 89 -> 77 bytes
13 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/PlanGenerationTestSuite.scala b/connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/PlanGenerationTestSuite.scala
index f31e80574f7b..571ee6791e92 100644
--- a/connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/PlanGenerationTestSuite.scala
+++ b/connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/PlanGenerationTestSuite.scala
@@ -92,8 +92,6 @@ class PlanGenerationTestSuite
// with the datasource.
protected val testDataPath: Path = java.nio.file.Paths.get(
"../",
- "sql",
- "connect",
"common",
"src",
"test",
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read.json b/sql/connect/common/src/test/resources/query-tests/queries/read.json
index 55fa5f6b7b11..d5580c1321ec 100644
--- a/sql/connect/common/src/test/resources/query-tests/queries/read.json
+++ b/sql/connect/common/src/test/resources/query-tests/queries/read.json
@@ -10,7 +10,7 @@
"header": "true",
"delimiter": ";"
},
- "paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/people.csv"]
+ "paths": ["../common/src/test/resources/query-tests/test-data/people.csv"]
}
}
}
\ No newline at end of file
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read.proto.bin b/sql/connect/common/src/test/resources/query-tests/queries/read.proto.bin
index 79b2f8bb2a2d..c50391bb1a8f 100644
Binary files a/sql/connect/common/src/test/resources/query-tests/queries/read.proto.bin and b/sql/connect/common/src/test/resources/query-tests/queries/read.proto.bin differ
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read_csv.json b/sql/connect/common/src/test/resources/query-tests/queries/read_csv.json
index a9682fe4d9d4..ec1eed1c6cf3 100644
--- a/sql/connect/common/src/test/resources/query-tests/queries/read_csv.json
+++ b/sql/connect/common/src/test/resources/query-tests/queries/read_csv.json
@@ -5,7 +5,7 @@
"read": {
"dataSource": {
"format": "csv",
- "paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/people.csv"]
+ "paths": ["../common/src/test/resources/query-tests/test-data/people.csv"]
}
}
}
\ No newline at end of file
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read_csv.proto.bin b/sql/connect/common/src/test/resources/query-tests/queries/read_csv.proto.bin
index 2aa178593682..d8b5ca93f2f7 100644
Binary files a/sql/connect/common/src/test/resources/query-tests/queries/read_csv.proto.bin and b/sql/connect/common/src/test/resources/query-tests/queries/read_csv.proto.bin differ
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read_json.json b/sql/connect/common/src/test/resources/query-tests/queries/read_json.json
index 220b0ebd8de0..63dadc129dc8 100644
--- a/sql/connect/common/src/test/resources/query-tests/queries/read_json.json
+++ b/sql/connect/common/src/test/resources/query-tests/queries/read_json.json
@@ -5,7 +5,7 @@
"read": {
"dataSource": {
"format": "json",
- "paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/people.json"]
+ "paths": ["../common/src/test/resources/query-tests/test-data/people.json"]
}
}
}
\ No newline at end of file
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read_json.proto.bin b/sql/connect/common/src/test/resources/query-tests/queries/read_json.proto.bin
index f76b586c64cd..1d829df6bbcf 100644
Binary files a/sql/connect/common/src/test/resources/query-tests/queries/read_json.proto.bin and b/sql/connect/common/src/test/resources/query-tests/queries/read_json.proto.bin differ
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read_orc.json b/sql/connect/common/src/test/resources/query-tests/queries/read_orc.json
index 15492565e944..b78d7d6ecd61 100644
--- a/sql/connect/common/src/test/resources/query-tests/queries/read_orc.json
+++ b/sql/connect/common/src/test/resources/query-tests/queries/read_orc.json
@@ -5,7 +5,7 @@
"read": {
"dataSource": {
"format": "orc",
- "paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/users.orc"]
+ "paths": ["../common/src/test/resources/query-tests/test-data/users.orc"]
}
}
}
\ No newline at end of file
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read_orc.proto.bin b/sql/connect/common/src/test/resources/query-tests/queries/read_orc.proto.bin
index 701a5764b3e2..6a67db561dc8 100644
Binary files a/sql/connect/common/src/test/resources/query-tests/queries/read_orc.proto.bin and b/sql/connect/common/src/test/resources/query-tests/queries/read_orc.proto.bin differ
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read_parquet.json b/sql/connect/common/src/test/resources/query-tests/queries/read_parquet.json
index d321a88c3326..0a201a43c744 100644
--- a/sql/connect/common/src/test/resources/query-tests/queries/read_parquet.json
+++ b/sql/connect/common/src/test/resources/query-tests/queries/read_parquet.json
@@ -5,7 +5,7 @@
"read": {
"dataSource": {
"format": "parquet",
- "paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/users.parquet"]
+ "paths": ["../common/src/test/resources/query-tests/test-data/users.parquet"]
}
}
}
\ No newline at end of file
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read_parquet.proto.bin b/sql/connect/common/src/test/resources/query-tests/queries/read_parquet.proto.bin
index a205e1b37e48..f16b28dcce01 100644
Binary files a/sql/connect/common/src/test/resources/query-tests/queries/read_parquet.proto.bin and b/sql/connect/common/src/test/resources/query-tests/queries/read_parquet.proto.bin differ
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read_text.json b/sql/connect/common/src/test/resources/query-tests/queries/read_text.json
index 53493a64a762..de7a306a52fb 100644
--- a/sql/connect/common/src/test/resources/query-tests/queries/read_text.json
+++ b/sql/connect/common/src/test/resources/query-tests/queries/read_text.json
@@ -5,7 +5,7 @@
"read": {
"dataSource": {
"format": "text",
- "paths": ["../sql/connect/common/src/test/resources/query-tests/test-data/people.txt"]
+ "paths": ["../common/src/test/resources/query-tests/test-data/people.txt"]
}
}
}
\ No newline at end of file
diff --git a/sql/connect/common/src/test/resources/query-tests/queries/read_text.proto.bin b/sql/connect/common/src/test/resources/query-tests/queries/read_text.proto.bin
index 6b9da3739e71..3f3bbf8769c4 100644
Binary files a/sql/connect/common/src/test/resources/query-tests/queries/read_text.proto.bin and b/sql/connect/common/src/test/resources/query-tests/queries/read_text.proto.bin differ
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org