def sqla_compile(expr):
    """Compile a SQL expression

    Parameters
    ----------
    expr : SQLAlchemy expression
        The SQLAlchemy expression to compile

    Returns
    -------
    str
        The compiled expression string

    """
    return str(expr.compile(compile_kwargs={'literal_binds': True}))
