Skip to content

Fix panic preparing an INSERT with bare parameters into a Dolt system table - #3960

Merged
zachmu merged 5 commits into
mainfrom
zachmu/adopt-3905
Nov 24, 2026
Merged

zachmu merged 5 commits into
mainfrom
zachmu/adopt-3905

Conversation

@zachmu

@zachmu zachmu commented Nov 24, 2026

Copy link
Copy Markdown
Member

Fixes a panic preparing an INSERT with bare parameters into a Dolt system table.

brimleylabs and others added 5 commits November 11, 2026 16:30
… table

A bare parameter takes its destination column's type, which is a GMS type for Dolt system tables.
AssignInsertCasts then called String() on a nil type. Convert GMS types the same way the
destination columns are converted, and name the real type in the error.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor
Main PR
Total 42090 42090
Successful 21531 21532
Failures 20559 20558
Partial Successes1 5439 5439
Main PR
Successful 51.1547% 51.1570%
Failures 48.8453% 48.8430%

${\color{lightgreen}Progressions (1)}$

subselect

QUERY: select count(*) from tenk1 t
where (exists(select 1 from tenk1 k where k.unique1 = t.unique2) or ten < 0);

Footnotes

  1. These are tests that we're marking as Successful, however they do not match the expected output in some way. This is due to small differences, such as different wording on the error messages, or the column names being incorrect while the data itself is correct. ↩

@coffeegoddd

Copy link
Copy Markdown
Contributor

@zachmu DOLT

read_tests from_latency to_latency percent_change
covering_index_scan_postgres 2.52 2.52 0.0
groupby_scan_postgres 80.03 80.03 0.0
index_join_postgres 2.43 2.43 0.0
index_join_scan_postgres 1.64 1.64 0.0
index_scan_postgres 404.61 404.61 0.0
oltp_point_select 0.42 0.42 0.0
oltp_read_only 7.3 7.3 0.0
select_random_points 0.77 0.78 1.3
select_random_ranges 1.12 1.12 0.0
table_scan_postgres 404.61 404.61 0.0
types_table_scan_postgres 1032.01 1032.01 0.0
write_tests from_latency to_latency percent_change
oltp_delete_insert_postgres 4.65 4.65 0.0
oltp_insert 2.3 2.3 0.0
oltp_read_write 13.46 13.46 0.0
oltp_update_index 2.57 2.52 -1.95
oltp_update_non_index 2.26 2.22 -1.77
oltp_write_only 6.21 6.21 0.0
types_delete_insert_postgres 5.09 5.09 0.0

@zachmu
zachmu merged commit db7c790 into main Nov 24, 2026
28 of 29 checks passed
@zachmu
zachmu deleted the zachmu/adopt-3905 branch November 24, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants