Skip to content

Validate that ConnectionSchema fields are not duplicated - #1120

Merged
mwylde merged 1 commit into
masterfrom
validate_fields
Jul 30, 2026
Merged

Validate that ConnectionSchema fields are not duplicated#1120
mwylde merged 1 commit into
masterfrom
validate_fields

Conversation

@mwylde

@mwylde mwylde commented Jul 29, 2026

Copy link
Copy Markdown
Member

Currently we allow source schemas to be defined that include duplicate field names, like [a TEXT, a INT]. This breaks later, in planning, when we attempt to create a DFSchema from the SourceSchema. This PR adds an upfront validation to prevent the creation of these broken schemas.


Open in Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@mwylde
mwylde force-pushed the validate_fields branch from 126b955 to 509a86e Compare July 30, 2026 00:09
@mwylde
mwylde merged commit 07b65db into master Jul 30, 2026
7 checks passed
@mwylde
mwylde deleted the validate_fields branch July 30, 2026 17:16
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.

2 participants