David Cai created CARBONDATA-3960: ------------------------------------- Summary: Column comment should be null by default when adding column Key: CARBONDATA-3960 URL: https://issues.apache.org/jira/browse/CARBONDATA-3960 Project: CarbonData Issue Type: Improvement Reporter: David Cai
1. create table create table test_add_column_with_comment( col1 string comment 'col1 comment', col2 int, col3 string) stored as carbondata 2 . alter table alter table test_add_column_with_comment add columns( col4 string comment "col4 comment", col5 int, col6 string comment "") 3. describe table describe test_add_column_with_comment +--------+---------+------------+ |col_name|data_type|comment | +--------+---------+------------+ |col1 |string |col1 comment| |col2 |int |null | |col3 |string |null | |col4 |string |col4 comment| |col5 |int | | |col6 |string | | +--------+---------+------------+ the comment of col5 is "" by default -- This message was sent by Atlassian Jira (v8.3.4#803005)