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

sql: don't panic on unexpected null in kvfetcher #35083

Closed
jordanlewis opened this issue Feb 20, 2019 · 1 comment
Closed

sql: don't panic on unexpected null in kvfetcher #35083

jordanlewis opened this issue Feb 20, 2019 · 1 comment
Assignees

Comments

@jordanlewis
Copy link
Member

CockroachDB currently panics if a NULL is detected on disk for a non-nullable column. This is pretty much an overreaction to a situation that can arise due to bugs in our code. We should return an error in the query instead.

@jordanlewis
Copy link
Member Author

@asubiotto could you knock this one out?

craig bot pushed a commit that referenced this issue Feb 28, 2019
35248: sql: don't panic on unexpected null in kvfetcher r=jordanlewis a=asubiotto

Closes #35083

Release note: None

Co-authored-by: Alfonso Subiotto Marqués <[email protected]>
@craig craig bot closed this as completed in #35248 Feb 28, 2019
craig bot pushed a commit that referenced this issue Feb 28, 2019
35272: release-2.1: sql: don't panic on unexpected null in kvfetcher r=jordanlewis a=asubiotto

Backport 1/1 commits from #35248.

/cc @cockroachdb/release

---

Closes #35083

Release note: None


Co-authored-by: Alfonso Subiotto Marqués <[email protected]>
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

No branches or pull requests

2 participants