You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Bankim Bhavsar (Jira)" <ji...@apache.org> on 2021/07/22 21:32:00 UTC
[jira] [Created] (KUDU-3306) String column types in range
partitions lead to issues while copying tables
Bankim Bhavsar created KUDU-3306:
------------------------------------
Summary: String column types in range partitions lead to issues while copying tables
Key: KUDU-3306
URL: https://issues.apache.org/jira/browse/KUDU-3306
Project: Kudu
Issue Type: Bug
Components: CLI, tablet copy
Reporter: Bankim Bhavsar
Range partitions with string column types leads to issues while creating destination table.
{noformat}
create TABLE test3 (
created_time STRING PRIMARY KEY
)
PARTITION BY RANGE (created_time)
(
PARTITION VALUE = "2020-01-01",
PARTITION VALUE = "2021-01-01"
)
STORED as kudu;
# kudu table describe master-1 impala::default.test3
TABLE impala::default.test3 (
created_time STRING NOT NULL,
PRIMARY KEY (created_time)
)
RANGE (created_time) (
PARTITION "2020-01-01" <= VALUES < "2020-01-01\000",
PARTITION "2021-01-01" <= VALUES < "2021-01-01\000"
)
OWNER root
REPLICAS 3
# kudu table copy master-1 impala::default.test3 master-1 -dst_table=kudu_test4 -write_type=""
Invalid argument: Error creating table kudu_test4 on the master: overlapping range partitions: first range partition: "\000��\004\000\000\000\00001" <= VALUES < "2021-01-01\000", second range partition: "\000��\004\000\000\000\00001" <= VALUES < "2021-01-01\000"
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)