Skip to content

HCK-13991: alter column invalid script#148

Merged
chulanovskyi-bs merged 1 commit intodevelopfrom
fix/HCK-13991-alter-column-constraints
Dec 18, 2025
Merged

HCK-13991: alter column invalid script#148
chulanovskyi-bs merged 1 commit intodevelopfrom
fix/HCK-13991-alter-column-constraints

Conversation

@chulanovskyi-bs
Copy link
Contributor

@chulanovskyi-bs chulanovskyi-bs commented Dec 18, 2025

Sub-bugHCK-13991 [HIVE][DDL][Delta Model] Invalid statement adding INLINE another column with a constraint

Content

  • removed invalid constraint statements from ADD COLUMNS clause, according to the spec:

ALTER TABLE table_name
[PARTITION partition_spec] -- (Note: Hive 0.14.0 and later)
ADD|REPLACE COLUMNS (col_name data_type [COMMENT col_comment], ...)
[CASCADE|RESTRICT] -- (Note: Hive 1.1.0 and later)

  • new column constraints within delta model won't appear in the script for now, will be implemented separately once required

@sonarqubecloud
Copy link

@AlikRakhmonov AlikRakhmonov enabled auto-merge (squash) December 18, 2025 11:29
@chulanovskyi-bs chulanovskyi-bs merged commit 5ba77e1 into develop Dec 18, 2025
7 of 9 checks passed
@chulanovskyi-bs chulanovskyi-bs deleted the fix/HCK-13991-alter-column-constraints branch December 18, 2025 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants