Jinfeng Ni created DRILL-4911:
---------------------------------
Summary: SimpleParallelizer should avoid plan serialization for
logging purpose when debug logging is not enabled.
Key: DRILL-4911
URL: https://issues.apache.org/jira/browse/DRILL-4911
Project: Apache Drill
Issue Type: Bug
Components: Query Planning & Optimization
Reporter: Jinfeng Ni
SimpleParallelizer and subclass has 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)