Skip to content

Commit

Permalink
account for vids in calculating chunk_size
Browse files Browse the repository at this point in the history
  • Loading branch information
zorancv committed Feb 4, 2025
1 parent ede2071 commit 809eefb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions store/postgres/src/relational_queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2331,6 +2331,9 @@ impl<'a> InsertQuery<'a> {
if table.has_causality_region {
count += 1;
}
if table.object.strict_vid_order() {
count += 1;
}
for column in table.columns.iter() {
// This code depends closely on how `walk_ast` and `QueryValue`
// put values into bind variables
Expand Down

0 comments on commit 809eefb

Please sign in to comment.