Skip to content

section_diff_items

Bill comparison items

One row per settled correspondence in one version-pair comparison. text_diff is byte-capped, and text_diff_truncated says when the cap was reached.

Coverage. Sampled: the settled correspondences within each comparison in section_diffs, so it covers exactly what that table covers. (measured 2026-09-28)

  • Parquet file: section_diff_items.parquet
  • MCP query_sql support: Configured; requires an available artifact.
  • Publication status: Not established by this schema page or its measurement date.
  • Row count: Not stated here; the MCP describe_table reply gives the live count under publication.
Column Type Description
bill_id VARCHAR The bill both printings belong to.
from_version_code VARCHAR The earlier printing's version code.
from_printing_id VARCHAR Which acquisition path supplied the earlier printing.
to_version_code VARCHAR The later printing's version code.
to_printing_id VARCHAR Which acquisition path supplied the later printing.
seq BIGINT Position in the engine's own stable ordering of settled correspondences.
op VARCHAR What changed: added, removed, modified, unchanged or moved.
moved BOOLEAN True when the engine classified this correspondence as a move.
match_path VARCHAR[] The normalized cross-version key, unit-separator joined. Stored as native nested values; list order, repeated values, null and empty collections remain distinct.
display_path_old VARCHAR[] The earlier printing's display path, as a Native list. Stored as native nested values; list order, repeated values, null and empty collections remain distinct.
display_path_new VARCHAR[] The later printing's display path, as a Native list. Stored as native nested values; list order, repeated values, null and empty collections remain distinct.
section_number VARCHAR The section's displayed number.
heading VARCHAR The section heading, preferring the later printing's.
from_element_id VARCHAR The earlier printing's own element id, which resolves this side to a bill_sections row.
to_element_id VARCHAR The later printing's own element id.
from_text_chars BIGINT Character length of the earlier body text.
to_text_chars BIGINT Character length of the later body text.
text_diff VARCHAR[] The engine's word-level diff as a Native list, capped at the published byte limit. Stored as native nested values; list order, repeated values, null and empty collections remain distinct.
text_diff_truncated BOOLEAN True when the word diff did not fit the cap and entries were dropped from the end.
financial_from_amounts DECIMAL(38,2)[] Every dollar figure the earlier body states, as a Native list. Stored as native nested values; list order, repeated values, null and empty collections remain distinct.
financial_to_amounts DECIMAL(38,2)[] Every dollar figure the later body states, as a Native list. Stored as native nested values; list order, repeated values, null and empty collections remain distinct.
financial_amounts_changed BOOLEAN True when the two multisets of figures differ; needs no account model to be true.
financial_has_amendment_annotations BOOLEAN True when the section carries amendment annotations around its figures.
from_body_version_id VARCHAR Stable identity of the earlier document body in this comparison.
to_body_version_id VARCHAR Stable identity of the later document body in this comparison.