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

Change QueryCompiler get column expressions process from serial to parallel.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.11.0, 4.13.0
    • Fix Version/s: 4.11.0, 4.13.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated: