def METHOD_NAME(self):
    """Check if it is allowed to use a window with ordering by a non integer constant.
    """
    expected = convert_output("""
     rank
    ------
        1
    """)
    execute_query(
        "SELECT rank() OVER (ORDER BY length('abc')) AS rank",
        expected=expected
    )