@compiles(coalesce, 'postgresql')
def compile(element, compiler, **kw):
    return compiler.process(element.clauses) % "coalesce(%s)"
dataset/ETHPy150Open dropbox/changes/changes/db/funcs/coalesce.py/compile/swapped operands of `%`