Github user yhuai commented on the pull request:
https://github.com/apache/spark/pull/1439#issuecomment-49341477
@chenghao-intel explained the root cause in
https://issues.apache.org/jira/browse/SPARK-2523. Basically, we should use
partition-specific `ObjectInspectors` to extract fields instead of using the
`ObjectInspectors` set in the `TableDesc`. If partitions of a table are using
different SerDe, their `ObjectInspector`s will be different. @chenghao-intel
can you add unit tests? Is there any Hive query test that can be included?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---