You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your datagen table configuration has fields.word.length=1, which means it can only generate 16 unique values: 1-9 and a-f. Therefore, when writing to a Paimon primary key table with word as the primary key, there will actually be only 16 rows.
Search before asking
Paimon version
1.0-SNAPSHOT
Compute Engine
flink-1.20
Minimal reproduce step
CREATE TABLE word_count_1 (
word STRING PRIMARY KEY NOT ENFORCED,
cnt BIGINT
)WITH (
'bucket' = '-1',
'dynamic-bucket.target-row-num' ='100000',
'write-only'= 'true'
);
CREATE TEMPORARY TABLE word_table (
word STRING
) WITH (
'connector' = 'datagen',
'fields.word.length' = '1'
);
insert into word_count_1 select word,2 from word_table;
What doesn't meet your expectations?
The number of buckets in the primary key table is automatically expanded based on the configuration parameters.
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: