Skip to content

fix: duplicate rename colliding with explicit name (Issue #233) - #245

Merged
vmvarela merged 1 commit into
masterfrom
fix/dup-col-233
Sep 12, 2026
Merged

vmvarela merged 1 commit into
masterfrom
fix/dup-col-233

Conversation

@vmvarela

Copy link
Copy Markdown
Owner

Closes #233.

What: parseHeader registra cada nombre emitido (bare + generados) y sube el sufijo _N hasta único. a,a,a_2 → a,a_2,a_2_2 en vez de morir con duplicate column name.

  • src/loader.zig: set emitted + loop de sufijo; cubre loader y modes columns/sample/validate.
  • build.zig: test 19b espejo con header en colisión.

Test:

  • Repro → 1,2,3 exit 0, warnings por rename; caso viejo value→value_2 intacto.
  • zig build unit-test y zig build test exit 0.

@github-actions github-actions Bot added the type:bug Something isn't working label Sep 12, 2026
@vmvarela
vmvarela merged commit 6f08a2d into master Sep 12, 2026
5 checks passed
@vmvarela
vmvarela deleted the fix/dup-col-233 branch September 12, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Duplicate-column rename can collide with an explicit name

1 participant