Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.0
Description
After SPARK-35378 was changed, I noticed that the execution of statements such as ‘show parititions test' became slower.
The change point is that the execution process changes from ExecutedCommandEnec to CommandResultExec, but ExecutedCommandExec originally implemented the following method
override def executeToIterator(): Iterator[InternalRow] = sideEffectResult.iterator
CommandResultExec is not rewritten, so when the hasNext method is executed, a job process is created, resulting in increased time-consuming
Attachments
Issue Links
- links to