def test_selection_consistent_children():
    t = Symbol('t', 'var * {name: string, amount: int, id: int}')

    expr = t['name'][0 < t['amount']]

    assert list(expr.fields) == ['name']
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_symbol.py/test_selection_consistent_children/swapped operands of `<`