def partition_spec(self, partition):
        return ','.join(["`{0}`='{1}'".format(k, v) for (k, v) in
                         sorted(six.iteritems(partition), key=operator.itemgetter(0))])
Turns a dict into the a Hive partition specification string.
dataset/ETHPy150Open spotify/luigi/luigi/contrib/hive.py/HiveCommandClient.partition_spec