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

DSBulk count doesn't work on tables with just partition keys #473

Open
msmygit opened this issue May 4, 2023 · 0 comments
Open

DSBulk count doesn't work on tables with just partition keys #473

msmygit opened this issue May 4, 2023 · 0 comments

Comments

@msmygit
Copy link
Collaborator

msmygit commented May 4, 2023

Let's have a table like below:

CREATE TABLE ks_name.tbl_name (
    s_id bigint,
    c_id bigint,
    status boolean,
    uid_ts timestamp,
    uids text,
    PRIMARY KEY ((s_id, c_id))
);

There is only partition key. We're using version 1.10.0.

When we run ./dsbulk count -h <host> -u <user> -p <pswd> --stats.modes partitions --stats.numPartitions 20 on this table, we get an error as follows:

Cannot count partitions for table tbl_name: it has no clustering columns

┆Issue is synchronized with this Jira Task by Unito

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant