Skip to content

feat: add ALTER TABLE FORCE REINDEX PARQUET and FORCE DROP PARTITION - #41

Merged
emrberk merged 1 commit into
masterfrom
jv/force_reindex_parquet
Nov 10, 2026
Merged

emrberk merged 1 commit into
masterfrom
jv/force_reindex_parquet

Conversation

@javier

@javier javier commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Parse ALTER TABLE t FORCE REINDEX PARQUET [COLUMN c] [PARTITION LIST 'p' [, ...]] from fix(core): fix parquet index repair and deduplication after upgrades questdb#8139, with AST, toSql and formatter support.
  • Parse ALTER TABLE t FORCE DROP PARTITION LIST 'p' [, ...], which the engine already accepted but the grammar did not.
  • Both live in a dedicated alterTableForceAction rule so their tokens do not collide with the existing DROP PARTITION and ALTER COLUMN visitor checks.
  • Adds the documented examples to docs-queries.json.

@emrberk
emrberk merged commit 8b7e529 into master Nov 10, 2026
2 checks passed
javier added a commit to questdb/documentation that referenced this pull request Nov 10, 2026
## Summary

Documents `ALTER TABLE ... FORCE REINDEX PARQUET`, which rebuilds
Parquet partition indexes online and repairs stale column tops left by
QuestDB 9.3.4 through 10.0.1. Available from QuestDB 10.2.0 and QuestDB
Enterprise 4.2.0.

- New reference page with syntax, examples, behavior, skipped
partitions, automatic repair, permissions, replica behavior and errors.
- Cross-links from `REINDEX`, the Parquet concept page and the posting
index limitations.

## Dependencies

- questdb/questdb#8139
- questdb/questdb-enterprise#1342
- questdb/sql-parser#41 (grammar support for the new statement)
incrediblevichu pushed a commit to incrediblevichu/documentation that referenced this pull request Nov 10, 2026
## Summary

Documents `ALTER TABLE ... FORCE REINDEX PARQUET`, which rebuilds
Parquet partition indexes online and repairs stale column tops left by
QuestDB 9.3.4 through 10.0.1. Available from QuestDB 10.2.0 and QuestDB
Enterprise 4.2.0.

- New reference page with syntax, examples, behavior, skipped
partitions, automatic repair, permissions, replica behavior and errors.
- Cross-links from `REINDEX`, the Parquet concept page and the posting
index limitations.

## Dependencies

- questdb/questdb#8139
- questdb/questdb-enterprise#1342
- questdb/sql-parser#41 (grammar support for the new statement)
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

Successfully merging this pull request may close these issues.

2 participants