def METHOD_NAME(partitions):
    # https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/impala_insert.html
    # NOTE: https://github.com/kayak/pypika looks interesting if we start having more complex query buildings
    sql = "PARTITION (" + ",".join("`" + p + "`" for p in partitions.keys()) + ")"
    return sql