def METHOD_NAME(con, alltypes, temp_view):
    assert temp_view not in con.list_tables()
    t1 = alltypes.group_by("string_col").size()
    t2 = con.create_view(temp_view, t1)
    assert temp_view in con.list_tables()
    # just check it works for now
    assert t2.execute() is not None