You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/08/30 12:10:00 UTC

[jira] [Commented] (SPARK-36613) The return value of the Table.capabilities should use EnumSet instead of HashSet

    [ https://issues.apache.org/jira/browse/SPARK-36613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406698#comment-17406698 ] 

Apache Spark commented on SPARK-36613:
--------------------------------------

User 'LuciferYang' has created a pull request for this issue:
https://github.com/apache/spark/pull/33867

> The return value of the Table.capabilities should use EnumSet instead of HashSet
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-36613
>                 URL: https://issues.apache.org/jira/browse/SPARK-36613
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Yang Jie
>            Priority: Minor
>
> The `Table.capabilities` method return a `java.util.Set` of `TableCapability` enumeration type, which is implemented using HashSet now. Such Set objects can be replaced with java.util.EnumSet objects.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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