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

fix: use flag in preflush to indicate whether reorder is required #20

Closed
wants to merge 5 commits into from

Conversation

jiacai2050
Copy link
Owner

Rationale

Current we suggest new primary keys in preflush, and do a reorder in flush task.

There is no easy way for flush task to know if reorder if required.

Detailed Changes

  • Introduce a flag to represent whether reorder is required
  • Change col to ident when build logical plan, ident will not normalize column name.

Test Plan

Integration test.

ShiKaiWi and others added 5 commits November 6, 2023 16:52
## Rationale
After the columnar encoding is supported for wal format, we should adapt
such encoding in the wal write procedure.

## Detailed Changes
Adapt the columnar encoding in the wal write procedure. And now, both
rowwise and columnar encoding in the wal write procedure are supported,
which to use depends on the configuration.

## Test Plan
Existing tests. The compatibility tests have been designed as:
- Write rowwise-encoded wal logs and restart the server to replay it
- Write columnar-encoded wal logs and restart the server to replay it
@jiacai2050 jiacai2050 closed this Dec 30, 2023
@jiacai2050 jiacai2050 deleted the fix-suggest branch November 22, 2024 06:16
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