-
Notifications
You must be signed in to change notification settings - Fork 879
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
Fix index creation for hypertables with dropped columns #2974
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2974 +/- ##
==========================================
+ Coverage 90.15% 90.29% +0.13%
==========================================
Files 212 212
Lines 34799 34938 +139
==========================================
+ Hits 31373 31547 +174
+ Misses 3426 3391 -35
Continue to review full report at Codecov.
|
@svenklemm Can you update the change log? Can you add the reference to the issue to the commit message too?
|
The index creation code would take the IndexInfo from the hypertable and adjust it for the chunk but wouldnt reset IndexInfo for each individual chunk leading to errors when the hypertable has dropped columns. Fixes timescale#2504
This maintenance release contains bugfixes since the 2.1.0 release. We deem it high priority for upgrading. The bug fixes in this release address issues with CREATE INDEX and UPSERT for hypertables, custom jobs, and gapfill queries. This release marks TimescaleDB as trusted extension. **Minor features** * timescale#2998 Mark timescaledb as trusted extension **Bugfixes** * timescale#2948 Fix off by 4 error in histogram deserialize * timescale#2974 Fix index creation for hypertables with dropped columns * timescale#2990 Fix segfault in job_config_check for cagg * timescale#2987 Fix crash due to txns in emit_log_hook_callback * timescale#3042 Commit end transaction for CREATE INDEX * timescale#3053 Fix gapfill/hashagg planner interaction * timescale#3059 Fix UPSERT on hypertables with columns with defaults **Thanks** * @eloyekunle and @kitwestneat for reporting an issue with UPSERT * @jocrau for reporting an issue with index creation * @kev009 for fixing a compilation issue * @majozv and @pehlert for reporting an issue with time_bucket_gapfill
This maintenance release contains bugfixes since the 2.1.0 release. We deem it high priority for upgrading. The bug fixes in this release address issues with CREATE INDEX and UPSERT for hypertables, custom jobs, and gapfill queries. This release marks TimescaleDB as trusted extension. **Minor features** * timescale#2998 Mark timescaledb as trusted extension **Bugfixes** * timescale#2948 Fix off by 4 error in histogram deserialize * timescale#2974 Fix index creation for hypertables with dropped columns * timescale#2990 Fix segfault in job_config_check for cagg * timescale#2987 Fix crash due to txns in emit_log_hook_callback * timescale#3042 Commit end transaction for CREATE INDEX * timescale#3053 Fix gapfill/hashagg planner interaction * timescale#3059 Fix UPSERT on hypertables with columns with defaults **Thanks** * @eloyekunle and @kitwestneat for reporting an issue with UPSERT * @jocrau for reporting an issue with index creation * @kev009 for fixing a compilation issue * @majozv and @pehlert for reporting an issue with time_bucket_gapfill
This maintenance release contains bugfixes since the 2.1.0 release. We deem it high priority for upgrading. The bug fixes in this release address issues with CREATE INDEX and UPSERT for hypertables, custom jobs, and gapfill queries. This release marks TimescaleDB as trusted extension. **Minor features** * timescale#2998 Mark timescaledb as trusted extension **Bugfixes** * timescale#2948 Fix off by 4 error in histogram deserialize * timescale#2974 Fix index creation for hypertables with dropped columns * timescale#2990 Fix segfault in job_config_check for cagg * timescale#2987 Fix crash due to txns in emit_log_hook_callback * timescale#3042 Commit end transaction for CREATE INDEX * timescale#3053 Fix gapfill/hashagg planner interaction * timescale#3059 Fix UPSERT on hypertables with columns with defaults **Thanks** * @eloyekunle and @kitwestneat for reporting an issue with UPSERT * @jocrau for reporting an issue with index creation * @kev009 for fixing a compilation issue * @majozv and @pehlert for reporting an issue with time_bucket_gapfill
This maintenance release contains bugfixes since the 2.1.0 release. We deem it high priority for upgrading. The bug fixes in this release address issues with CREATE INDEX and UPSERT for hypertables, custom jobs, and gapfill queries. This release marks TimescaleDB as trusted extension. **Minor features** * timescale#2998 Mark timescaledb as trusted extension **Bugfixes** * timescale#2948 Fix off by 4 error in histogram deserialize * timescale#2974 Fix index creation for hypertables with dropped columns * timescale#2990 Fix segfault in job_config_check for cagg * timescale#2987 Fix crash due to txns in emit_log_hook_callback * timescale#3042 Commit end transaction for CREATE INDEX * timescale#3053 Fix gapfill/hashagg planner interaction * timescale#3059 Fix UPSERT on hypertables with columns with defaults **Thanks** * @eloyekunle and @kitwestneat for reporting an issue with UPSERT * @jocrau for reporting an issue with index creation * @kev009 for fixing a compilation issue * @majozv and @pehlert for reporting an issue with time_bucket_gapfill
This maintenance release contains bugfixes since the 2.1.0 release. We deem it high priority for upgrading. The bug fixes in this release address issues with CREATE INDEX and UPSERT for hypertables, custom jobs, and gapfill queries. This release marks TimescaleDB as a trusted extension in PG13, so that superuser privileges are not required anymore to install the extension. **Minor features** * timescale#2998 Mark timescaledb as trusted extension **Bugfixes** * timescale#2948 Fix off by 4 error in histogram deserialize * timescale#2974 Fix index creation for hypertables with dropped columns * timescale#2990 Fix segfault in job_config_check for cagg * timescale#2987 Fix crash due to txns in emit_log_hook_callback * timescale#3042 Commit end transaction for CREATE INDEX * timescale#3053 Fix gapfill/hashagg planner interaction * timescale#3059 Fix UPSERT on hypertables with columns with defaults **Thanks** * @eloyekunle and @kitwestneat for reporting an issue with UPSERT * @jocrau for reporting an issue with index creation * @kev009 for fixing a compilation issue * @majozv and @pehlert for reporting an issue with time_bucket_gapfill
This maintenance release contains bugfixes since the 2.1.0 release. We deem it high priority for upgrading. The bug fixes in this release address issues with CREATE INDEX and UPSERT for hypertables, custom jobs, and gapfill queries. This release marks TimescaleDB as a trusted extension in PG13, so that superuser privileges are not required anymore to install the extension. **Minor features** * #2998 Mark timescaledb as trusted extension **Bugfixes** * #2948 Fix off by 4 error in histogram deserialize * #2974 Fix index creation for hypertables with dropped columns * #2990 Fix segfault in job_config_check for cagg * #2987 Fix crash due to txns in emit_log_hook_callback * #3042 Commit end transaction for CREATE INDEX * #3053 Fix gapfill/hashagg planner interaction * #3059 Fix UPSERT on hypertables with columns with defaults **Thanks** * @eloyekunle and @kitwestneat for reporting an issue with UPSERT * @jocrau for reporting an issue with index creation * @kev009 for fixing a compilation issue * @majozv and @pehlert for reporting an issue with time_bucket_gapfill
This maintenance release contains bugfixes since the 2.1.0 release. We deem it high priority for upgrading. The bug fixes in this release address issues with CREATE INDEX and UPSERT for hypertables, custom jobs, and gapfill queries. This release marks TimescaleDB as a trusted extension in PG13, so that superuser privileges are not required anymore to install the extension. **Minor features** * timescale#2998 Mark timescaledb as trusted extension **Bugfixes** * timescale#2948 Fix off by 4 error in histogram deserialize * timescale#2974 Fix index creation for hypertables with dropped columns * timescale#2990 Fix segfault in job_config_check for cagg * timescale#2987 Fix crash due to txns in emit_log_hook_callback * timescale#3042 Commit end transaction for CREATE INDEX * timescale#3053 Fix gapfill/hashagg planner interaction * timescale#3059 Fix UPSERT on hypertables with columns with defaults **Thanks** * @eloyekunle and @kitwestneat for reporting an issue with UPSERT * @jocrau for reporting an issue with index creation * @kev009 for fixing a compilation issue * @majozv and @pehlert for reporting an issue with time_bucket_gapfill
This maintenance release contains bugfixes since the 2.1.0 release. We deem it high priority for upgrading. The bug fixes in this release address issues with CREATE INDEX and UPSERT for hypertables, custom jobs, and gapfill queries. This release marks TimescaleDB as a trusted extension in PG13, so that superuser privileges are not required anymore to install the extension. **Minor features** * #2998 Mark timescaledb as trusted extension **Bugfixes** * #2948 Fix off by 4 error in histogram deserialize * #2974 Fix index creation for hypertables with dropped columns * #2990 Fix segfault in job_config_check for cagg * #2987 Fix crash due to txns in emit_log_hook_callback * #3042 Commit end transaction for CREATE INDEX * #3053 Fix gapfill/hashagg planner interaction * #3059 Fix UPSERT on hypertables with columns with defaults **Thanks** * @eloyekunle and @kitwestneat for reporting an issue with UPSERT * @jocrau for reporting an issue with index creation * @kev009 for fixing a compilation issue * @majozv and @pehlert for reporting an issue with time_bucket_gapfill
The index creation code would take the IndexInfo from the hypertable
and adjust it for the chunk but wouldnt reset IndexInfo for each
individual chunk leading to errors when the hypertable has dropped
columns.
Fixes #2504