Added support for partitioned tables join