openlookeng / hetu-core

570 stars 423 forks source link

Alter Table Rename Column Bug #129

Open sumanth43 opened 3 years ago

sumanth43 commented 3 years ago

Software Environment:

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

ManojSKulkarni commented 3 years ago

PR: https://github.com/openlookeng/hetu-core/pull/130 - Merged