Add ShardSpec Lookup

Optimize choosing shardSpec for Hash Partitions
what happens when there are multiple hadoopy shard specs?