[
https://issues.apache.org/jira/browse/SPARK-47914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kent Yao resolved SPARK-47914.
------------------------------
Resolution: Fixed
Issue resolved by pull request 46136
[https://github.com/apache/spark/pull/46136]
> Do not display the splits parameter in Rang
> -------------------------------------------
>
> Key: SPARK-47914
> URL: https://issues.apache.org/jira/browse/SPARK-47914
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.5.1
> Reporter: guihuawen
> Assignee: guihuawen
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> [SQL]
> explain extended select * from range(0, 4);
> plan
> == Parsed Logical Plan ==
> 'Project [*]
> +- 'UnresolvedTableValuedFunction [range], [0, 4]
>
> == Analyzed Logical Plan ==
> id: bigint
> Project [id#11L|#11L]
> +- Range (0, 4, step=1, splits=None)
>
> == Optimized Logical Plan ==
> Range (0, 4, step=1, splits=None)
>
> == Physical Plan ==
> *(1) Range (0, 4, step=1, splits=1)
>
> The splits parameter will only be set during the physical execution phase.
> But it is also displayed in the logical execution phase as None, which is not
> very user-friendly. Showing the physical execution plan can help users.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]