Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.8.0
-
None
Description
Very large expression trees can cause havoc in various Impala components. I have been experimenting with the attached test that generates large case statements of varying depths and widths, and have been able to hit limits in the frontend (Java OOM) and caused various runaway memory usage problems in the backend (thrift structures, LLVM IR, codegen, etc).
We should set some kind of limit here, either on the number of nodes in the expression trees, or on the size of the query text, and then make sure that we can execute queries of the maximum size end-to-end.
Attachments
Attachments
Issue Links
- causes
-
IMPALA-12652 Limit Length of Completed Queries Insert DML
- Closed
- is depended upon by
-
IMPALA-3259 Codegen is not cancellable and can use a lot of CPU and memory
- Resolved
- is duplicated by
-
IMPALA-3254 query archiving can temporarily take 1g memory for a single 500KB query
- Resolved