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

branch-2.1: [Fix](ccr) Incorrectly generated sql with NONE aggregate type #45452 #45489

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

github-actions[bot]
Copy link
Contributor

Cherry-picked from #45452

@yiguolei
Copy link
Contributor

run buildall

Execute:

```
alter table tbl enable feature "UPDATE_FLEXIBLE_COLUMNS";
```

The generated SQL in binlog:

```
ALTER TABLE `t` ADD COLUMN `__DORIS_SKIP_BITMAP_COL__` bitmap NONE NOT NULL DEFAULT BITMAP_EMPTY COMMENT "doris skip bitmap hidden column" AFTER `__DORIS_VERSION_COL__` 
```

The error message:

```
Error 1105 (HY000): errCode = 2, detailMessage = mismatched input 'NONE' expecting {<EOF>, ';'}(line 1, pos 62)
```
@w41ter w41ter force-pushed the auto-pick-45452-branch-2.1 branch from db3fccc to c479324 Compare December 23, 2024 02:00
@w41ter
Copy link
Contributor

w41ter commented Dec 23, 2024

run buildall

@w41ter w41ter merged commit 6454ee6 into branch-2.1 Dec 23, 2024
20 of 23 checks passed
@w41ter w41ter deleted the auto-pick-45452-branch-2.1 branch December 23, 2024 08:48
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.

3 participants