Github user koertkuipers commented on the pull request: https://github.com/apache/spark/pull/11508#issuecomment-202111907 it might seem easiest to put a defaultSize on ObjectType, but i think that is masking the real problem, which is that the optimizer replaces the real types with ObjectType in EliminateSerialization to avoid serialization, and as a result the actual type and defaultSize info is lost.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org