blob: 6e33bc0782d298b83adf3fd99676b6d1ee24a968 [file] [log] [blame]
SET hive.metastore.partition.name.whitelist.pattern=[\\x20-\\x7E&&[^,]]* ;
-- This pattern matches all printable ASCII characters (disallow unicode) and disallows commas
CREATE TABLE part_whitelist_test (key STRING, value STRING) PARTITIONED BY (ds STRING);
SHOW PARTITIONS part_whitelist_test;
ALTER TABLE part_whitelist_test ADD PARTITION (ds='1');
ALTER TABLE part_whitelist_test PARTITION (ds='1') rename to partition (ds='1,2,3');