jiayuasu commented on code in PR #1039:
URL: https://github.com/apache/sedona/pull/1039#discussion_r1340438523
##########
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:
@furqaankhan sample and filter are operations that can reduce the number of
resulting rows. Without this kind of commands, a direct collect() on a
DataFrame that has millions of row will crash the driver program.
--
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]