Description
A while ago we ran into a stack overflow in the parsing with one our query. It's still an issue (tested this morning) so we decided to report it as a bug.
If run the query in attachment you get a stack overflow error probably because there to many where. Granted, this query isn't pretty, but still the parser shouldn't stack overflow.
FYI, the where clause where used for partition pruning.
Attachments: https://gist.github.com/anonymous/9aa852b7796b3918013c