hive报错 ParseException line 10:7 missing EOF at 'by' near 'group'
来源:互联网 发布:grub命令行启动ubuntu 编辑:程序博客网 时间:2024/04/29 11:05
查询:
select a,b,c
from (select a,b,cfrom (select a,b,c
from table) a
where rno = 1)
group by a;
报错:FAILED: ParseException line 10:7 missing EOF at 'by' near 'group'
原因:hive本身缺陷,需要在每个子查询后面加别名。
改正:
select a,b,c
from (select a,b,cfrom (select a,b,c
from table) a
where rno = 1) tb
group by a;
0 0
- hive报错 ParseException line 10:7 missing EOF at 'by' near 'group'
- FAILED: ParseException line 1:12 missing TABLE at 'ext_emp' near '<EOF>'
- hive FAILED: ParseException line 1:814 cannot recognize input near ‘;’ <EOF>’
- FAILED: ParseException line mismatched input '<EOF>' expecting StringLiteral near 'by' in
- hive中的错误(missing EOF at )
- hibernate报错You have an error in your SQL syntax; ......near 'type=InnoDB' at line 7
- org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1, column 0.
- org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1, column 0.
- org.apache.lucene.queryparser.classic.ParseException: Encountered "<EOF>" at line 1, column 0.
- 解析xml时,报错:org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 75:not well-formed
- 解析xml时,报错:WARN/System.err(207): org.apache.harmony.xml.ExpatParser$ParseException: At line 1,
- sqlite报错 near "group": syntax error
- hive 建表报错:ParseException - cannot recognize input near 'end' 'string'
- 解析xml时,报错:org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 4:not well-formed(invaild toke)
- MySQL5.7 group by,报错1055
- MySQL5.7 group by报错1055
- jboss启动报org.jboss.security.auth.login.ParseException: Encountered "<?xml" at line 1, column 1. 异常
- 正则表达式报错 PatternSyntaxException Unclosed group near index
- S3C6410 时钟初始化
- MySql my.ini 中文详细说明
- android短信发送,和状态
- 编程
- MySQL 中文插入数据乱码(问号????)ERROR 1366 (HY000)
- hive报错 ParseException line 10:7 missing EOF at 'by' near 'group'
- 中国移动:要做好4G,必须自我革命!
- 黑马程序员-----javaIO流总结*
- ios7Label自适应大小
- 简单的正则表达式记录
- mysql主从同步
- IE内存释放
- 学习flex
- eclipse 快捷键