The following script fails with the exception shown below. Passing -t LimitOptimizer makes it work, as does adding an ORDER clause before the limit.
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Hadoop Flags||Reviewed [ 10343 ]|
|Assignee||Bill Graham [ billgraham ]||Daniel Dai [ daijy ]|
|Resolution||Fixed [ 1 ]|
|Fix Version/s||0.10 [ 12316246 ]|
|Fix Version/s||0.11 [ 12318878 ]|