

def _searched_case(translator, expr):
    op = expr.op()
    formatter = CaseFormatter(translator, None, op.cases, op.results, op.default)
    return formatter.get_result()

dataset/ETHPy150Open cloudera/ibis/ibis/impala/compiler.py _searched_case/original