laptop and a wrench

不具合

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
不具合 ID 番号 BUG-000162789
送信されましたNovember 8, 2023
最終更新日February 13, 2024
適用対象ArcGIS GIS Server
見つかったバージョン11.0
オペレーティング システムWindows OS
オペレーティング システムのバージョン11.0 64 bit
ステータスUnder Consideration

対処法

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

再現の手順

不具合 ID: BUG-000162789

ソフトウェア:

  • ArcGIS GIS Server

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動