laptop and a wrench

Erro

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
Número de ID do Erro BUG-000162789
EnviadoNovember 8, 2023
Última ModificaçãoFebruary 13, 2024
Aplica-se àArcGIS GIS Server
Versão encontrada11.0
Sistema OperacionalWindows OS
Versão do Sistema Operacional11.0 64 bit
StatusUnder Consideration

Solução Provisória

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().

Etapas para Reproduzir

ID do Erro: BUG-000162789

Software:

  • ArcGIS GIS Server

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download