Vikram Ahuja created HIVE-29093:
-----------------------------------

             Summary: Alter Table Add Partition operation fails if the 
DEFAULT_PARTITION_NAME property is a substring of partition value to be added
                 Key: HIVE-29093
                 URL: https://issues.apache.org/jira/browse/HIVE-29093
             Project: Hive
          Issue Type: Bug
            Reporter: Vikram Ahuja
            Assignee: Vikram Ahuja


Scenario to reproduce this issue:

create table test_part(a int) partitioned by (b string);

set hive.exec.default.partition.name=2025;

 alter table test_part add partition(b='2025-01-01');

Error: Error while compiling statement: FAILED: SemanticException [Error 
10111]: Partition value contains a reserved substring (User value: 2025-01-01 
Reserved substring: 2025) (state=42000,code=10111)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to