You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(row_id): add unit coverage for edge cases and the SinglePartition guard
Four additional unit tests on RowIdExec:
* rowid_only_projection_empty_input_columns — zero-column input
(count-rows mode produced by parquet scans where only rowid is
projected). Verifies RowIdExec still emits a 1-column batch with
the right values.
* empty_batch_passes_through_with_empty_rowid_column — a zero-row
batch followed by a non-empty one. Confirms the rowid column is
present in the empty batch and that the cursor doesn't advance,
so the next batch's rowids start at row_id_start + 0.
* insert_at_out_of_range_clamps_to_end — constructor clamps a
too-large insert position to the end of the input schema (defense
against caller errors rather than panicking).
* declares_single_partition_input_to_block_repartition — regression
guard for the latent issue fixed in the previous commit. If
required_input_distribution or maintains_input_order ever revert
to the ExecutionPlan defaults, DataFusion's Repartition rule could
silently break the cursor-based rowid synthesis.
0 commit comments