Github user piaozhexiu commented on the pull request:

    https://github.com/apache/spark/pull/6921#issuecomment-116360559
  
    @marmbrus While digging into Hive commit log, I found this 
[HIVE-4888](https://issues.apache.org/jira/browse/HIVE-4888). Binary comparison 
operators have been supported by `getPartitionsByFilter()` since Hive 0.13.
    
    So my patch will break backward compatibility with Hive 0.12 and older. I 
think the best we can do is to disable predicate pushdown in metastore if 
`spark.sql.hive.metastore.version` is lower than 0.13. Since we're already 
implementing this in `HiveShim`, code will be isolated and can be easily 
removed when dropping support for old Hive versions in the future.
    



---
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]

Reply via email to