-
Notifications
You must be signed in to change notification settings - Fork 948
Allow SET NOT NULL on column of compressed table #7463
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
Allow SET NOT NULL on column of compressed table #7463
Conversation
da099bd
to
8449949
Compare
8449949
to
71c08e1
Compare
71c08e1
to
8eb4f4e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7463 +/- ##
==========================================
+ Coverage 80.06% 82.11% +2.04%
==========================================
Files 190 230 +40
Lines 37181 43104 +5923
Branches 9450 10834 +1384
==========================================
+ Hits 29770 35395 +5625
- Misses 2997 3397 +400
+ Partials 4414 4312 -102 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
7a0ebc1
to
8caf04c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, but made some suggestions
8caf04c
to
6799243
Compare
05d1e56
to
0b52822
Compare
0b52822
to
51c50c3
Compare
Since `SET NOT NULL` will only do a full table scan of the table to verify that there are no nulls, this should work without having to modify any data in the table. However, it does not work for chunks using the `heap` table access method if they are compressed since it uses a normal table scan, so adding a check for this.
51c50c3
to
9fe71d9
Compare
Since
SET NOT NULL
will only do a full table scan of the table to verify that there are no nulls, this should work without having to modify any data in the table. However, since the command does atable_beginscan
it does not work for hypertables with compressed chunks that uses theheap
table access method.Disable-check: force-changelog-file