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
If a schema contains more than one attribute with the same name, which can happen when you join schemas in sql, using Schema#[] will return the first matching attribute. This should be changed to raise an error when more than one attribute was found.
This is a bug fix but in a way it's also a breaking change, so this goes to 6.0.0.
Make Schema#[] raise when attribute name is not unique
[changelog]
version: unreleased
changed: "`Schema#[]` and `Relation#[]` now raise an error if a given attribute is not unique (issue #529 fixed via #543) (@waiting-for-dev)"
If a schema contains more than one attribute with the same name, which can happen when you join schemas in sql, using
Schema#[]
will return the first matching attribute. This should be changed to raise an error when more than one attribute was found.This is a bug fix but in a way it's also a breaking change, so this goes to
6.0.0
.Refs #524
The text was updated successfully, but these errors were encountered: