uros-db commented on code in PR #53009:
URL: https://github.com/apache/spark/pull/53009#discussion_r2534228564
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/st/stExpressions.scala:
##########
@@ -17,12 +17,40 @@
package org.apache.spark.sql.catalyst.expressions.st
+import org.apache.spark.sql.AnalysisException
+import org.apache.spark.sql.catalyst.InternalRow
import org.apache.spark.sql.catalyst.expressions._
+import org.apache.spark.sql.catalyst.expressions.codegen.CodegenFallback
import org.apache.spark.sql.catalyst.expressions.objects._
import org.apache.spark.sql.catalyst.trees._
import org.apache.spark.sql.catalyst.util.{Geography, Geometry, STUtils}
+import org.apache.spark.sql.internal.SQLConf
import org.apache.spark.sql.types._
+/**
+ * ST expressions are behind a feature flag while the geospatial module is
under development.
+ */
+
+private[sql] case class GeospatialGuard(child: Expression)
Review Comment:
I don't think this is present in the analyzed plan. Please see:
-
https://github.com/apache/spark/blob/master/sql/core/src/test/resources/sql-tests/analyzer-results/st-functions.sql.out
-
https://github.com/apache/spark/blob/master/sql/core/src/test/resources/sql-tests/analyzer-results/nonansi/st-functions.sql.out
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]