Arrays 配置单元:ParseException行3:23无法识别';从';

Arrays 配置单元:ParseException行3:23无法识别';从';,arrays,hadoop,struct,Arrays,Hadoop,Struct,我尝试创建此表: create table tmp_test ( id_ string, myelement array<struct<from:string>> ) STORED AS PARQUET LOCATION '/donne/tmp_test' 创建表格tmp\U测试( id_uu字符串, myelement数组 ) 作为拼花地板储存 位置“/donne/tmp_测试” 我有一个错误: 编译语句时出错:失败:ParseException行3:23无法识别列

我尝试创建此表:

create table tmp_test (
id_ string,
myelement array<struct<from:string>>
)
STORED AS PARQUET
LOCATION '/donne/tmp_test'
创建表格tmp\U测试(
id_uu字符串,
myelement数组
)
作为拼花地板储存
位置“/donne/tmp_测试”
我有一个错误:

编译语句时出错:失败:ParseException行3:23无法识别列规范中“from”:“string”附近的输入

我怎样才能避开“from”这个词,因为我必须使用这个词

thxs for your help

是配置单元中的保留关键字

使用倒勾(`)引用它

create table tmp_test (
id_ string,
myelement array<struct<`from`:string>>
)
STORED AS PARQUET
LOCATION '/donne/tmp_test';
创建表格tmp\U测试(
id_uu字符串,
myelement数组
)
作为拼花地板储存
位置“/donne/tmp_测试”;