Github user rdblue commented on the issue: https://github.com/apache/spark/pull/16533 I agree with @zero323. I don't think this method should change how users interact with DataTypes. There is a precedent for using type strings instead, as @rxin suggested, and that's a good idea that fits the need better than allowing users to pass the type class instead of an instance.
--- 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