chitra-psg opened a new issue, #1138:
URL: https://github.com/apache/sedona/issues/1138
## Expected behavior
Expecting below command to return string
SELECT RS_AsBase64(raster) from rasters
## Actual behavior
It returns 1 row 1 column and its empty
## To replicate
geotiff_df = sedona.read.format("binaryFile").load("data/samplefile.tif")
geotiff_df.createOrReplaceTempView("binary_raster")
raster_df = sedona.sql("SELECT RS_FromGeoTiff(content) as raster from
binary_raster")
raster_df.createOrReplaceTempView("raster_table")
in SQL,
SELECT RS_AsBase64(raster) from raster_table
## Settings
Sedona version = 1.5.0
Apache Spark version = 3.5.0
API type = SQL
Scala version = 2.12
Environment = Azure Databricks
--
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]