Skip to content

HIVE-29782:ALTER VIEW ADD PARTITION does not honor non string partition columns - #6658

Open
ramitg254 wants to merge 1 commit into
apache:masterfrom
ramitg254:master
Open

HIVE-29782:ALTER VIEW ADD PARTITION does not honor non string partition columns#6658
ramitg254 wants to merge 1 commit into
apache:masterfrom
ramitg254:master

Conversation

@ramitg254

@ramitg254 ramitg254 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Change-Id: I56fa674c2d7c8db6187d75e9fd2f5d39a3ec766e

What changes were proposed in this pull request?

Fixed the behaviour of ALTER VIEW ADD PARTITION for non string partition columns

Why are the changes needed?

in postProcess in AlterViewAddPartitionAnalyzer.java all partition values are treated as string literals which prevent it from adding partition in parition columns are other than string columns.
Steps to reproduce are explained on jira: https://issues.apache.org/jira/browse/HIVE-29782

Does this PR introduce any user-facing change?

No

How was this patch tested?

Added ut and results of ci

@ramitg254 ramitg254 changed the title [WIP] HIVE-29782:ALTER VIEW ADD PARTITION does not honor non string partition columns Jul 29, 2026
…on columns

Change-Id: I56fa674c2d7c8db6187d75e9fd2f5d39a3ec766e

Change-Id: I790b126f63e73d03dc0ef2d04ed1e71d37f79028
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants