MaxGekk commented on code in PR #51467:
URL: https://github.com/apache/spark/pull/51467#discussion_r2205041004
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/encoders/EncoderUtils.scala:
##########
@@ -99,10 +99,10 @@ object EncoderUtils {
def dataTypeJavaClass(dt: DataType): Class[_] = {
dt match {
+ case _ if PhyTypeOps.supports(dt) => PhyTypeOps(dt).getJavaClass
Review Comment:
In the future, we will get an Ops object here, and we will match by it
instead of `PhyTypeOps.supports`.
--
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]