dillitz commented on code in PR #53009:
URL: https://github.com/apache/spark/pull/53009#discussion_r2527224588
##########
sql/api/src/main/scala/org/apache/spark/sql/catalyst/parser/DataTypeAstBuilder.scala:
##########
@@ -339,7 +339,7 @@ class DataTypeAstBuilder extends
SqlBaseParserBaseVisitor[AnyRef] with DataTypeE
currentCtx.precision.getText.toInt
}
TimeType(precision)
- case GEOGRAPHY =>
+ case GEOGRAPHY if SqlApiConf.get.geospatialEnabled =>
Review Comment:
I believe the issue could be that for Spark Connect, this always ends up
with the hardcoded `false` value from
`sql/api/src/main/scala/org/apache/spark/sql/internal/SqlApiConf.scala`, since
you do not fetch the config from the server. 🤔
--
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]