Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
A query like this won't parse, because the Hive grammar allows backtracking:
select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable UNION ALL select 1 from mytable;