Description
Currently, if the filter pushdown is impossible (which is most cases), the client gets all partition names from metastore, filters them, and asks for partitions by names for the filtered set.
Metastore server code should do that instead; it should check if pushdown is possible and do it if so; otherwise it should do name-based filtering.
Saves the roundtrip with all partition names from the server to client, and also removes the need to have pushdown viability checking on both sides.
Attachments
Attachments
Issue Links
- blocks
-
HIVE-5134 add tests to partition filter JDO pushdown for like and make sure it works, or remove it
- Closed
-
HIVE-4888 listPartitionsByFilter doesn't support lt/gt/lte/gte
- Resolved
- contains
-
HIVE-6028 Partition predicate literals are not interpreted correctly.
- Resolved
- is blocked by
-
HIVE-4985 refactor/clean up partition name pruning to be usable inside metastore server
- Closed
- relates to
-
HIVE-5234 partition name filtering uses suboptimal datastructures
- Resolved