You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "panbingkun (via GitHub)" <gi...@apache.org> on 2024/07/23 23:36:37 UTC
Re: [PR] [SPARK-48935][SQL] Make `checkEvaluation` directly check the `Collation` expression itself in UT [spark]
panbingkun commented on code in PR #47401:
URL: https://github.com/apache/spark/pull/47401#discussion_r1688874104
##########
sql/api/src/main/scala/org/apache/spark/sql/types/StringType.scala:
##########
@@ -88,7 +88,10 @@ class StringType private(val collationId: Int) extends AtomicType with Serializa
*/
@Stable
case object StringType extends StringType(0) {
- private[spark] def apply(collationId: Int): StringType = new StringType(collationId)
+ private[spark] def apply(collationId: Int): StringType = {
Review Comment:
Okay, I have revert it.
Thank you!
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org