MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / rebuild_select_col

Function rebuild_select_col

single_eval.py:814–824  ·  view source on GitHub ↗
(valid_col_units, sel, kmap)

Source from the content-addressed store, hash-verified

812
813
814def rebuild_select_col(valid_col_units, sel, kmap):
815 if sel is None:
816 return sel
817 distinct, _list = sel
818 new_list = []
819 for it in _list:
820 agg_id, val_unit = it
821 new_list.append((agg_id, rebuild_val_unit_col(valid_col_units, val_unit, kmap)))
822 if DISABLE_DISTINCT:
823 distinct = None
824 return distinct, new_list
825
826
827def rebuild_from_col(valid_col_units, from_, kmap):

Callers 1

rebuild_sql_colFunction · 0.70

Calls 1

rebuild_val_unit_colFunction · 0.70

Tested by

no test coverage detected