[
https://issues.apache.org/jira/browse/HIVE-29782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramit Gupta updated HIVE-29782:
-------------------------------
Attachment: test.q
> ALTER VIEW ADD PARTITION does not honor non string partition columns
> --------------------------------------------------------------------
>
> Key: HIVE-29782
> URL: https://issues.apache.org/jira/browse/HIVE-29782
> Project: Hive
> Issue Type: Bug
> Reporter: Ramit Gupta
> Assignee: Ramit Gupta
> Priority: Major
> Labels: pull-request-available
> Attachments: test.q
>
>
>
> 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)