You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2022/04/04 19:44:00 UTC

[jira] [Created] (IMPALA-11224) Add a way to dump the codegen assembly for a single query

Joe McDonnell created IMPALA-11224:
--------------------------------------

             Summary: Add a way to dump the codegen assembly for a single query
                 Key: IMPALA-11224
                 URL: https://issues.apache.org/jira/browse/IMPALA-11224
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
    Affects Versions: Impala 4.1.0
            Reporter: Joe McDonnell


There is currently a startup parameter (asm_module_dir) that dumps the codegen assembly for all queries. It would be useful to have a different functionality that can dump the assembly for a single query without needing to restart. This would make it easier to debug cases where there is a crash inside codegen'd code. If a query reproduces the problem, then turning on this option would provide a way to get the disassembly for the code that is crashing. With that disassembly, lining up the assembly with the crash address is relatively easy.

This exact interface would need some thought. It may make sense to add this as an option for "debug_action" rather than having a separate query option.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)