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

system.detached_parts is empty #1670

Open
skyoct opened this issue May 14, 2024 · 1 comment
Open

system.detached_parts is empty #1670

skyoct opened this issue May 14, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request P2 minor issue

Comments

@skyoct
Copy link
Collaborator

skyoct commented May 14, 2024

Bug Report

Briefly describe the bug

CREATE TABLE test.lc (b LowCardinality(String)) engine=CnchMergeTree ORDER BY b;

INSERT INTO test.lc SELECT '0123456789' FROM numbers(100000000);

select * from system.cnch_parts where database = 'test'
  and table = 'lc' and part_type = 'VisiblePart';

alter table test.lc detach part 'all_449747826447220736_449747827104415748_1_449747838836932630'; -- detach a specific par

select * from cnch(server, system.detached_parts);

The query results are empty.

The result you expected

How to Reproduce

Version

0.4.0

@skyoct skyoct added the bug Something isn't working label May 14, 2024
@kevinthfang kevinthfang assigned smmsmm1988 and unassigned smmsmm1988 May 21, 2024
@smmsmm1988
Copy link
Collaborator

smmsmm1988 commented May 21, 2024

We haven't adapted to system table system.detached_parts. This is an enhancement. We will enhance system.detached_parts soon. BTW, detach part is completed successfully, without doubt.

@smmsmm1988 smmsmm1988 added enhancement New feature or request P2 minor issue and removed bug Something isn't working labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 minor issue
Projects
None yet
Development

No branches or pull requests

3 participants