uros-db commented on code in PR #53009:
URL: https://github.com/apache/spark/pull/53009#discussion_r2534233632
##########
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:
Synced with @cloud-fan offline regarding this, we're actually not going to
block types at dt AST builder level, since it's too involved. It should be
sufficient that the new geospatial types are marked as `@Unstable`.
--
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]