代码
现象
ParseException line 6:4 cannot recognize input near 'percent' 'String' 'COMMENT' in column name or primary key or foreign key
23/11/13 11:52:57 ERROR org.apache.hadoop.hive.ql.Driver: FAILED: ParseException line 6:4 cannot recognize input near 'percent' 'String' 'COMMENT' in column name or primary key or foreign key
org.apache.hadoop.hive.ql.parse.ParseException: line 6:4 cannot recognize input near 'percent' 'String' 'COMMENT' in column name or primary key or foreign key
原因
在hive中row和percent都是关键字,所以会报错
更改后的代码
猜你喜欢
网友评论
- 搜索
- 最新文章
- 热门文章