Ramit Gupta created HIVE-29782:
----------------------------------

             Summary: ALTER VIEW ADD PARTITION in case of partitioned views 
does not honor non string columns
                 Key: HIVE-29782
                 URL: https://issues.apache.org/jira/browse/HIVE-29782
             Project: Hive
          Issue Type: Bug
            Reporter: Ramit Gupta
            Assignee: Ramit Gupta


 
steps to reproduce:
{code:java}
CREATE TABLE src_t (label string, p_int int) STORED AS ORC;
INSERT INTO src_t VALUES ('row1', 42);       
CREATE VIEW vp_int PARTITIONED ON (p_int) AS SELECT label, p_int FROM src_t;   
ALTER VIEW vp_int ADD PARTITION (p_int=42); –- fail and run into exception 
{code}
this will not occur if partitioned on a string column
 



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

Reply via email to