Kimahriman commented on code in PR #2098:
URL: https://github.com/apache/sedona/pull/2098#discussion_r2217933929


##########
spark/common/src/main/scala/org/apache/spark/sql/sedona_sql/expressions/GeoStatsFunctions.scala:
##########
@@ -31,8 +31,10 @@ import org.apache.spark.sql.types._
 
 case class ST_DBSCAN(children: Seq[Expression]) extends 
DataframePhysicalFunction {
 
-  override def dataType: DataType = StructType(
-    Seq(StructField("isCore", BooleanType), StructField("cluster", LongType)))
+  lazy val conf = SedonaConf.fromActiveSession() // only access on driver

Review Comment:
   Don't think this is used anymore?



-- 
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]

Reply via email to