[ https://issues.apache.org/jira/browse/HIVE-24651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267109#comment-17267109 ]
Zhihua Deng commented on HIVE-24651: ------------------------------------ Maybe you shoud alter with cascade when you add a new column to a partitioned table: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Add/ReplaceColumns > write into new added column for partitioned table failed > -------------------------------------------------------- > > Key: HIVE-24651 > URL: https://issues.apache.org/jira/browse/HIVE-24651 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 3.1.2 > Environment: hive version: 3.1.2 > Reporter: Spongebob > Priority: Major > > target table T1 has partition 'p1', then I added new column col2, and then > insert overwrite T1 partition='p1', col2 shows NULL values. -- This message was sent by Atlassian Jira (v8.3.4#803005)