嗨,我是Hive的新手,我想將當前時間戳與一行數據一起插入到我的表中。將時間戳插入Hive
這裏是我的隊表的例子:
team_id int
fname string
lname string
time timestamp
我已經看了一些其他的例子,How to insert timestamp into a Hive table?,How can I add a timestamp column in hive並且似乎無法得到它的工作。 這就是我想:
insert into team values('101','jim','joe',from_unixtime(unix_timestamp()));
我得到的錯誤是:
FAILED: SemanticException [Error 10293]: Unable to create temp file for insert values Expression of type TOK_FUNCTION not supported in insert/values
如果有人可以幫助,那將是巨大的,非常感謝frostie
插入不支持您已經使用過的日期UDF。 –
有沒有解決你的問題? –