This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new 4962534e2 [DOCS] Fix spelling in Java files function names tests
(#1487)
4962534e2 is described below
commit 4962534e29eace882f6daf386b88a60a690fd54c
Author: John Bampton <[email protected]>
AuthorDate: Sat Jun 22 02:56:58 2024 +1000
[DOCS] Fix spelling in Java files function names tests (#1487)
---
flink/src/test/java/org/apache/sedona/flink/FunctionTest.java | 4 ++--
.../test/java/org/apache/sedona/core/formatMapper/GeoJsonIOTest.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/flink/src/test/java/org/apache/sedona/flink/FunctionTest.java
b/flink/src/test/java/org/apache/sedona/flink/FunctionTest.java
index db05f81fe..96ffb15b8 100644
--- a/flink/src/test/java/org/apache/sedona/flink/FunctionTest.java
+++ b/flink/src/test/java/org/apache/sedona/flink/FunctionTest.java
@@ -168,7 +168,7 @@ public class FunctionTest extends TestBase {
}
@Test
- public void testShiftLogitude() {
+ public void testShiftLongitude() {
String actual =
(String)
first(
@@ -1524,7 +1524,7 @@ public class FunctionTest extends TestBase {
}
@Test
- public void testMaxDistnace() {
+ public void testMaxDistance() {
Table tbl =
tableEnv.sqlQuery(
"SELECT ST_GeomFromWKT('POLYGON ((40 180, 110 160, 180 180, 180
120, 140 90, 160 40, 80 10, 70 40, 20 50, 40 180),(60 140, 99 77.5, 90 140, 60
140))') as geom");
diff --git
a/spark/common/src/test/java/org/apache/sedona/core/formatMapper/GeoJsonIOTest.java
b/spark/common/src/test/java/org/apache/sedona/core/formatMapper/GeoJsonIOTest.java
index 8de907d17..78daab68e 100644
---
a/spark/common/src/test/java/org/apache/sedona/core/formatMapper/GeoJsonIOTest.java
+++
b/spark/common/src/test/java/org/apache/sedona/core/formatMapper/GeoJsonIOTest.java
@@ -166,7 +166,7 @@ public class GeoJsonIOTest extends TestBase {
/** Test correctness of parsing geojson file including id */
@Test
- public void testReadToIncludIdRDD() throws IOException {
+ public void testReadToIncludeIdRDD() throws IOException {
SpatialRDD geojsonRDD = GeoJsonReader.readToGeometryRDD(sc,
geoJsonContainsId, true, false);
assertEquals(geojsonRDD.rawSpatialRDD.count(), 1);
assertEquals(geojsonRDD.fieldNames.size(), 3);