jiayuasu commented on code in PR #1744:
URL: https://github.com/apache/sedona/pull/1744#discussion_r1905654030
##########
docs/tutorial/sql.md:
##########
@@ -858,6 +858,10 @@ The algorithm is available as a Scala and Python function
called on a spatial da
The first parameter is the dataframe, the next two are the epsilon and
min_points parameters of the DBSCAN algorithm.
+!!!Note
+ The sparkContext's checkpoint directory must be set to use DBSCAN.
Sedona's DBSCAN implementation uses Graphframes
+ which requires a checkpoint directory to be set. This can be done by
calling `sparkContext.setCheckpointDir("path/to/checkpoint")`.
Review Comment:
Can you provide a reference link about the checkPointDir? In addition, given
that we have been using `sedona` (which is sparkSession), please provide a bit
more code to illustrate how to get SparkContext (e.g., `sedona.sc`...)
--
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]