def name(sel):
    if hasattr(sel, 'name'):
        return sel.name
    if hasattr(sel, 'froms'):
        if len(sel.froms) == 1:
            return name(sel.froms[0])
    return next(table_names)
Name of a selectable
dataset/ETHPy150Open blaze/blaze/blaze/compute/sql.py/name