插入/值中不支持 TOK_FUNCTION

问题描述

我正在尝试将数据插入表中并出现错误 "Unable to create temp file for insert values expression of type TOK_FUNCTION not supported in insert/values"。我的表结构是:

create table test(nm string,file string,status string,start_ts timestamp,add_ts timestamp)

...当我尝试像这样插入数据时发生错误

Insert into test values("bab","text","completed",CURRENT_TIMESTAMP,FROM_UNIXTIME(UNIX_TIMESTAMP('20210310.190541','yyyyMMDdd.HHmmss')));

什么是 TOK_FUNCTION 以及为什么上面的插入会抛出错误

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)