cloud-fan commented on code in PR #48844:
URL: https://github.com/apache/spark/pull/48844#discussion_r1842100143
##########
sql/api/src/main/scala/org/apache/spark/sql/types/StringType.scala:
##########
@@ -30,7 +30,7 @@ import org.apache.spark.sql.catalyst.util.CollationFactory
* The id of collation for this StringType.
*/
@Stable
-class StringType private (val collationId: Int) extends AtomicType with
Serializable {
+class StringType private[sql] (val collationId: Int) extends AtomicType with
Serializable {
Review Comment:
no need to do this, as we have `def apply(collationId: Int)` in `object
StringType`
--
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]