Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on undefined field #3250

Conversation

RaphaelDarley
Copy link
Contributor

@RaphaelDarley RaphaelDarley commented Jan 2, 2024

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.

What is the motivation?

When adding data into a schemaful table any undefined fields are currently dropped silently, I don't think data should ever be dropped silently.

What does this change do?

Error when a query attempts to write to undefined fields, which will be dropped.

What is your testing strategy?

Tests have not been written yet.

Does this change need documentation?

  • Yes documentation is needed

Have you read the Contributing Guidelines?

@RaphaelDarley RaphaelDarley requested a review from a team January 2, 2024 14:29
@RaphaelDarley RaphaelDarley requested a review from a team as a code owner January 2, 2024 14:29
@kearfy
Copy link
Member

kearfy commented Jan 2, 2024

This will be a breaking change, should we assign it to the v2.0.0 milestone perhaps?

@RaphaelDarley RaphaelDarley added the topic:schema This is related to schema definition and enforcement label Jan 5, 2024
@RaphaelDarley
Copy link
Contributor Author

that seems reasonable, though it might be better to incorporate this with larger schema changes

@phughk
Copy link
Contributor

phughk commented Jan 11, 2024

Could we also have some test coverage please? This can be in the doc tests or in the api or both

@kearfy kearfy added this to the v2.0.0 milestone Jan 25, 2024
@tobiemh tobiemh added the needs-documentation Needs documentation to be added and tracked before merge label Feb 28, 2024
@RaphaelDarley RaphaelDarley mentioned this pull request Apr 14, 2024
2 tasks
@RaphaelDarley
Copy link
Contributor Author

closed in favour of #3872

@RaphaelDarley RaphaelDarley removed this from the v2.0.0 milestone Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-documentation Needs documentation to be added and tracked before merge topic:schema This is related to schema definition and enforcement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants