例如 show create table haitest出来的建表语句如下
CREATEA TABLE haitest(id int comment '编号',
name string comment '名字
age int comment '年龄') xxx
名字后面没有, 这时候执行这个语句会报错,这是因为注释"名字"中有特殊字符\t,与hive底层分隔符一致导致显示不完全。
例如 show create table haitest出来的建表语句如下
CREATEA TABLE haitest(id int comment '编号',
name string comment '名字
age int comment '年龄') xxx
名字后面没有, 这时候执行这个语句会报错,这是因为注释"名字"中有特殊字符\t,与hive底层分隔符一致导致显示不完全。