小编Jag*_*ish的帖子

将行插入到具有数组作为字段之一的配置单元表时出现错误 10293

我有一个使用以下查询创建的配置单元表:

create table arraytbl (id string, model string, cost int, colors array <string>,size array <float>)
row format delimited fields terminated by ',' collection items terminated by '#';
Run Code Online (Sandbox Code Playgroud)

现在,在尝试插入一行时:

insert into mobilephones values 
("AA","AAA",5600,colors("red","blue","green"),size(5.6,4.3));
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

FAILED: SemanticException [Error 10293]: Unable to create temp file for insert values Expression of type TOK_FUNCTION not supported in insert/values
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

hive

3
推荐指数
1
解决办法
3479
查看次数

标签 统计

hive ×1