cloud-fan commented on code in PR #45891:
URL: https://github.com/apache/spark/pull/45891#discussion_r1557312729
##########
sql/api/src/main/scala/org/apache/spark/sql/types/ArrayType.scala:
##########
@@ -43,6 +43,23 @@ object ArrayType extends AbstractDataType {
override private[spark] def simpleString: String = "array"
}
+/**
+ * Use AbstractArrayType(AbstractDataType) for defining expected types for
expression parameters.
+ */
+@Stable
Review Comment:
This is used by expressions to define expected types, so shouldn't be
exposed to end-users. It's more like a developer API.
Can we have a new package `org.apache.spark.sql.internal.types` to put this
class (with a new file) and also the string collation related classes?
--
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]