by
kll
• New Contributor III
- 4482 Views
- 4 replies
- 1 kudos
I am attempting to apply Mosaic's `grid_pointascellid` method on a spark dataframe with `lat`, `lon` columns.```import pyspark.sql.functions as F# Create a Spark DataFrame with a lat and lon columndf = spark.createDataFrame([("point1", 10.0, 20.0),("...
- 4482 Views
- 4 replies
- 1 kudos
Latest Reply
@kll This error appears because the function grid_pointascellid expects a Double type column and a Decimal column type was provided as input.To overcome this, before you apply the grid_pointascellid, I would recommend casting the columns lat and lon....
3 More Replies
- 2765 Views
- 1 replies
- 3 kudos
I created a workspace and a metastore(following the long tedious instructions). I assigned the workspace to the metastore. workspace -> Data, I can see the metastore link on the top left of the page. Through it I configured the permissions (giving me...
- 2765 Views
- 1 replies
- 3 kudos
Latest Reply
Answering my own question - all that is needed is to refresh the Data web page!