furqaankhan commented on code in PR #1039:
URL: https://github.com/apache/sedona/pull/1039#discussion_r1340198100
##########
docs/api/sql/Raster-operators.md:
##########
@@ -192,6 +192,14 @@ Provided band index 3 does not lie in the raster
Introduction: Returns the georeference metadata of raster as a string in GDAL
or ESRI format. Default is GDAL if not specified.
+!!!note
+ If you are using `show()` to display the output, it will show special
characters as escape sequences. To get the expected behavior use the following
code:
+
+ ```sql
+
print(df.selectExpr("RS_GeoReference(rast)").sample(0.5).collect().mkString(""))
Review Comment:
I don't think the filter function makes much sense here. As there's nothing
to filter, the function returns one row, that's a string with special
characters for formatting.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]