You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2023/10/10 06:39:00 UTC

[jira] [Assigned] (SPARK-45205) Since version 3.2.0, Spark SQL has taken longer to execute "show paritions",probably because of changes introduced by SPARK-35278

     [ https://issues.apache.org/jira/browse/SPARK-45205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan reassigned SPARK-45205:
-----------------------------------

    Assignee: Qiang Yang

> Since version 3.2.0, Spark SQL has taken longer to execute "show paritions",probably because of changes introduced by  SPARK-35278
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-45205
>                 URL: https://issues.apache.org/jira/browse/SPARK-45205
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Qiang Yang
>            Assignee: Qiang Yang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0, 3.5.1
>
>
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org