Open sumanth43 opened 3 years ago
OpenLooKeng version (source or binary):1.4.0
OS platform & distribution (eg., Linux Ubuntu 16.04):
Java version:1.8
In OLK, After renaming a column of a table, getting NULL values as a result for that particular column.
In OLK, After renaming a column of a table, correct values to be given.
1.create table fileformat1.t6(name string, dob date) partitioned by (score int) stored as textfile; 2.insert into fileformat1.t6 values ('name1', '2001-01-01', 100),('name2', '2002-02-02',200),('name3', '2003-03-03', 100),('name4', '2005-05-06',200); 3.alter table fileformat1.t6 rename column name to alias; 4.select * from fileformat1.t6;
PR: https://github.com/openlookeng/hetu-core/pull/130 - Merged
Software Environment:
OpenLooKeng version (source or binary):1.4.0
OS platform & distribution (eg., Linux Ubuntu 16.04):
Java version:1.8
Describe the current behavior
In OLK, After renaming a column of a table, getting NULL values as a result for that particular column.
Describe the expected behavior
In OLK, After renaming a column of a table, correct values to be given.
Steps to reproduce the issue
1.create table fileformat1.t6(name string, dob date) partitioned by (score int) stored as textfile; 2.insert into fileformat1.t6 values ('name1', '2001-01-01', 100),('name2', '2002-02-02',200),('name3', '2003-03-03', 100),('name4', '2005-05-06',200); 3.alter table fileformat1.t6 rename column name to alias; 4.select * from fileformat1.t6;
Related log/screenshots
Special notes for this issue