You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: accept GeoJSON strings for Edm.GeographyPoint in AzureSearchWriter (#2420)
Azure AI Search expects spatial values as GeoJSON objects, but when users
supplied a StringType column the writer JSON-escaped the entire string and
the service rejected the request with HTTP 400. Convert string GeographyPoint
columns into the canonical struct<type, coordinates> shape via from_json
before serialization, mirroring the existing Edm.DateTimeOffset handling.
Existing struct-based input is unchanged.
Copy file name to clipboardExpand all lines: cognitive/src/test/scala/com/microsoft/azure/synapse/ml/services/search/split2/SearchWriterSuitePart2.scala
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -171,4 +171,37 @@ class SearchWriterSuite extends SearchWriterSuiteUtilities {
171
171
172
172
}
173
173
174
+
test("Handle GeoJSON GeographyPoint fields supplied as strings") {
0 commit comments