cloud-fan commented on code in PR #40651:
URL: https://github.com/apache/spark/pull/40651#discussion_r1159291075
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala:
##########
@@ -3074,7 +3071,8 @@ case class Sequence(
@transient private lazy val impl: InternalSequence = dataType.elementType
match {
case iType: IntegralType =>
type T = iType.InternalType
- val ct = ClassTag[T](iType.tag.mirror.runtimeClass(iType.tag.tpe))
+ val ct = ClassTag[T](PhysicalDataType(iType).tag.mirror.runtimeClass(
+ PhysicalDataType(iType).tag.tpe))
Review Comment:
we should create physical type only once.
--
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]