Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4398

Change QueryCompiler get column expressions process from serial to parallel.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 4.11.0, 4.13.0
    • 4.11.0, 4.13.0
    • None
    • None

    Description

      When QueryCompiler compile a select sql, the process of getting column expressions is a serial process. The performance is ok when the table is narrow. But when compile a wide table(e.g. 130 columns in my use case), The time-consuming of this step is very high, over 70ms. So I change TupleProjector(PTable projectedTable) from serial for loop to parallel future.

      Because this is just modify code performance, not add new feture, so there is no unit test.

      Attachments

        1. PHOENIX-4398_V1.patch
          9 kB
          Albert Lee
        2. PHOENIX-4398.patch
          9 kB
          Albert Lee

        Activity

          People

            Unassigned Unassigned
            albertlee166@gmail.com Albert Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: