标签:
1. hive表中有一列值,是以 分号 ; 为分隔符连接存储的
1470047164;1470047628;1470049068;1470048978;1470048922;1470047658;1470047628;1470047628;1470047778;
2. 使用sql语句在HUE里面直接以 ; 分隔查询并无异常。
select test.thedate
,time_stamp1
from
(select thedate
,time_stamp
from my_table
where dt=‘2016-08-10‘
)test
lateral view explode(split(time_stamp,‘;‘)) t as time_stamp1
limit 10;
Error: Error while compiling statement: FAILED: ParseException line 23:39 cannot recognize input near ‘<EOF>‘ ‘<EOF>‘ ‘<EOF>‘ in select expression (state=42000,code=40000)
http://www.linuxidc.com/Linux/2013-10/91573.htm
标签:
原文地址:http://www.cnblogs.com/skyEva/p/5800503.html