perf: Rewrite inner joins on hive partitioned data to a union of partitions filtered joins (#28327)