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 Number BUG-000162789
SubmittedNovember 8, 2023
Last ModifiedFebruary 13, 2024
Applies toArcGIS GIS Server
Version found11.0
Operating SystemWindows OS
Operating System Version11.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().

Steps to Reproduce

Bug ID: BUG-000162789

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options