Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1112

Remove unnecessary boost/std/misc functions from the cross compiled module.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 1.4
    • Impala 2.7.0
    • Backend

    Description

      The module has a init section for initializing static vars. If we include something that contains a static boost/std object, this could pull in a lot of code that we don't need. This code cannot be removed by the internalize optimization pass and results in high compile time.

      As an example, removing the timestamp functions changed compile time from ~700ms -> 70ms. Even with that, we still have random boost functions in there that we are compiling for every query. It's a little tricky to figure out how to organize the includes though.

      Attachments

        Issue Links

          Activity

            People

              kwho Michael Ho
              nong_impala_60e1 Nong Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: