Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4911

SimpleParallelizer should avoid plan serialization for logging purpose when debug logging is not enabled.

    XMLWordPrintableJSON

    Details

      Description

      SimpleParallelizer and subclass have code to put serialized plan in debug log. However, in case when the physical plan fragment is very large (table is huge with large # of partitions, files, etc), the overhead of serialization is not negligible. The code seems to always do serialization, regardless whether the debug flag is turned on.

      To reduce the overhead, SimpleParallelizer and subclass should only do plan serialization for logging purpose when debug logging is turned on.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jni Jinfeng Ni
                Reporter:
                jni Jinfeng Ni
                Reviewer:
                Krystal
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: