laptop and a wrench

Bug

When running a GeoAnalytics tool, a dataset in the big data file share that contains a field with a Single data type (Float) generates an error stating "[java.lang.Double is not a valid external schema of float]."

ArcGIS GIS Server
Bug-ID-Nummer BUG-000162789
EingereichtNovember 8, 2023
Zuletzt geändertFebruary 13, 2024
Gilt fürArcGIS GIS Server
Gefunden in Version11.0
BetriebssystemWindows OS
Betriebssystemversion11.0 64 bit
StatusUnder Consideration

Workaround

The float field can be cast to a double field and used as a summary field in the Summarize Within tool using pyspark.sql.functions import col layer = spark.read.format("webgis").load("") layer = layer.withColumn("doubleField",col("floatField").cast('double')) sum_fields = [{"statisticType": "Max", "onStatisticField": "doubleField"},{"statisticType": "Min", "onStatisticField": "doubleField"}] sum_layer = geoanalytics.summarize_within(summarized_layer=layer, bin_type="Square", bin_size=10000, bin_size_unit="Meters", standard_summary_fields=sum_fields) sum_layer["output"].show() sum_layer["output"].printSchema().

Schritte zur Reproduzierung

Bug-ID: BUG-000162789

Software:

  • ArcGIS GIS Server

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln