Github user liancheng commented on the pull request:
https://github.com/apache/spark/pull/7421#issuecomment-122528059
It seems that Hive prefers to access the underlying metastore database via
direct SQL, and uses JDO ORM as a fallback. The existing bug doesn't show up
because usually either direct SQL or JDO ORM is capable to do the work. But in
case of `getPartitionByFilter`, the ORM one doesn't support predicates
involving integral types by default, and thus leads to build failure.
Before fixing the root cause, I guess we can workaround this issue by
setting `hive.metastore.integral.jdo.pushdown` to `true` to let the JDO ORM
code path be able to handle integral partition columns.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]