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

Jiaan Geng updated SPARK-53715:
-------------------------------
    Description: 
 The object MergeIntoTable has a function getWritePrivileges. There exists some 
optimization points.
Eliminating variability: using toSet instead of mutable HashSet
Reduce intermediate variables: use chain calls
Improving readability: The collect method expresses the intention of 
"transforming and filtering" more clearly
Performance optimization: Avoid unnecessary creation of intermediate sets


  was: 


> getWritePrivileges should follows scala style
> ---------------------------------------------
>
>                 Key: SPARK-53715
>                 URL: https://issues.apache.org/jira/browse/SPARK-53715
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Jiaan Geng
>            Assignee: Jiaan Geng
>            Priority: Minor
>
>  The object MergeIntoTable has a function getWritePrivileges. There exists 
> some optimization points.
> Eliminating variability: using toSet instead of mutable HashSet
> Reduce intermediate variables: use chain calls
> Improving readability: The collect method expresses the intention of 
> "transforming and filtering" more clearly
> Performance optimization: Avoid unnecessary creation of intermediate sets



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to