1.hive sql 报错 FAILED: ParseException line 22:0 cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in subquery source 2.解决 select * from ( select ... from table_1 where ... ) table_outer 嵌套的内层的表一定要有别名,也就是示例代码中的表名table_outer。