graph: stream snapshots over Arrow transport

This commit is contained in:
Oxy8
2026-04-06 13:36:23 -03:00
parent 44c1d3eaa6
commit ca715d7c3c
10 changed files with 1067 additions and 134 deletions

View File

@@ -155,7 +155,9 @@ func (s *APIServer) handleGraph(w http.ResponseWriter, r *http.Request) {
return
}
writeJSON(w, http.StatusOK, snap)
if err := writeGraphArrow(w, snap); err != nil {
log.Printf("handleGraph: arrow encode error graph_query_id=%s node_limit=%d edge_limit=%d err=%v", graphQueryID, nodeLimit, edgeLimit, err)
}
}
func (s *APIServer) handleGraphQueries(w http.ResponseWriter, r *http.Request) {