Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.0
-
spark: 3.3.0, scala: 2.12
sedona: 1.6.0
Description
When the main method in the Example class under the following Sedona package (org.apache.sedona.core.showcase), it failed with exceptions attached.
Run: org.apache.sedona.core.showcase.Example:
org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 1 times, most recent failure: Lost task 0.0 in stage 0.0 (TID 0) (192.168.1.253 executor driver): java.lang.NumberFormatException: For input string: "testattribute0" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043) at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) at java.lang.Double.parseDouble(Double.java:538) at org.apache.sedona.common.utils.FormatUtils.readCoordinates(FormatUtils.java:241) at org.apache.sedona.common.utils.FormatUtils.readGeometry(FormatUtils.java:293) at org.apache.sedona.core.formatMapper.FormatMapper.call(FormatMapper.java:77) at org.apache.sedona.core.formatMapper.FormatMapper.call(FormatMapper.java:32) at org.apache.spark.api.java.JavaRDDLike.$anonfun$mapPartitions$1(JavaRDDLike.scala:153) ...
Attachments
Issue Links
- links to