some buf gixes + cleanup

This commit is contained in:
Taha committed 2024-06-26 00:23:19 -04:00
1 parent 151816bf5e
commit 393f304be4
14 files changed
+121 -94

No files matched your search

@@ -1628,6 +1628,13 @@ namespace BCG {
return sb.ToString();
}
public static string id_string(IBlueRowCollection table) {
string rv = String.Empty;
foreach (IBlueRow r in table)
rv += $"{r["id"]} ";
return rv;
}
public static IDictionary<int, List<IBlueRow>> group_together(IBlueRowCollection rows, string[] group_by_col_names) {
BlueRowHasher hasher = new BlueRowHasher(group_by_col_names.Length);
return group_together(rows, BlueDataUtility.get_column_indices(rows.schema, group_by_col_names), ref hasher);