Review Board 1.7.22


HIVE-4659 while sql contains \t ? 'desc formatted view_name' and 'show create table view_name' statements will generate Incomplete results

Review Request #11652 - Created June 5, 2013 and updated

fangkun cao
hive-trunk
HIVE-4659
Reviewers
hive
hive
https://issues.apache.org/jira/browse/HIVE-4659
$ hive -e "show create table  v_test_1"
CREATE VIEW v_test_1 AS select 
      key,
    value, 
    dt from 
(
select `tmp_v_t1`.`key`, `tmp_v_t1`.`value`, `tmp_v_t1`.`dt` from `default`.`tmp_v_t1` where `tmp_v_t1`.`dt`='20130122' 
union all 
select `tmp_v_t1`.`key`, split(`tmp_v_t1`.`value`,'\\\t')[0] as `value`, `tmp_v_t1`.`dt` from `default`.`tmp_v_t1` where `tmp_v_t1`.`dt`='20130123'
) `t` ;