Skip to content

Commit

Permalink
add back importand val_dump step
Browse files Browse the repository at this point in the history
  • Loading branch information
gtarpenning committed Dec 12, 2024
1 parent f3e513b commit c30ef52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions weave/trace_server/clickhouse_trace_server_batched.py
Original file line number Diff line number Diff line change
Expand Up @@ -1869,6 +1869,11 @@ def _select_objs_query(
for row in query_result:
(object_id, digest, val_dump) = row
object_values[(object_id, digest)] = val_dump

# update the val_dump for each object
for obj in result:
obj.val_dump = object_values.get((obj.object_id, obj.digest), "{}")

return result

def _run_migrations(self) -> None:
Expand Down

0 comments on commit c30ef52

Please sign in to comment.