173,715
社区成员
发帖
与我相关
我的任务
分享 大佬们,trino字段名称有中划线 - ,插入可以,但是更新的时候不行,怎么办
> update idc_hive.default.tmp_123
set "v-cou"= 2
where "id" = 1
[2023-11-03 14:34:40] [65536] Query failed (#20231103_063344_02015_bvy93): Error: : expected at the position 57 of 'int:bigint:int:bigint:bigint:struct<id:int,sitecode:int,v-cou:int>' but '-' is found.
[2023-11-03 14:34:40] java.lang.IllegalArgumentException: Error: : expected at the position 57 of 'int:bigint:int:bigint:bigint:struct<id:int,sitecode:int,v-cou:int>' but '-' is found.
