Skip to content

Commit

Permalink
Fix planstate_bitmap check
Browse files Browse the repository at this point in the history
  • Loading branch information
bonnefoa committed Apr 5, 2024
1 parent ad4a50f commit e9123ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion expected/planstate_bitmap.out
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SELECT span_id AS span_d_id,
get_epoch(span_start) as span_d_start,
get_epoch(span_end) as span_d_end
from pg_tracing_peek_spans
where parent_id =:'span_a_id' and deparse_info='Index Cond: (a = 2)' \gset
where parent_id =:'span_a_id' and deparse_info='Index Cond: (a = 3)' \gset
SELECT :span_b_end >= :span_c_start as bitmap_or_second_child_start_after_first,
:span_c_end >= :span_d_start as bitmap_or_third_child_start_after_second,
:span_d_end <= :span_a_end as bitmap_or_ends_after_latest_child;
Expand Down
2 changes: 1 addition & 1 deletion sql/planstate_bitmap.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SELECT span_id AS span_d_id,
get_epoch(span_start) as span_d_start,
get_epoch(span_end) as span_d_end
from pg_tracing_peek_spans
where parent_id =:'span_a_id' and deparse_info='Index Cond: (a = 2)' \gset
where parent_id =:'span_a_id' and deparse_info='Index Cond: (a = 3)' \gset

SELECT :span_b_end >= :span_c_start as bitmap_or_second_child_start_after_first,
:span_c_end >= :span_d_start as bitmap_or_third_child_start_after_second,
Expand Down

0 comments on commit e9123ab

Please sign in to comment.