Github user adrian-wang commented on the pull request: https://github.com/apache/spark/pull/2344#issuecomment-56018809 Though Hive would throw exception when cast int to date, I think it doesn't matter if not obey, because query exit with exception is considered a failure in `runHive`. Let's keep cast int to date as null, exactly as what hive does with cast string to int.
--- 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