[ https://issues.apache.org/jira/browse/SPARK-38932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524052#comment-17524052 ]
Apache Spark commented on SPARK-38932: -------------------------------------- User 'ulysses-you' has created a pull request for this issue: https://github.com/apache/spark/pull/36253 > Datasource v2 support report unique keys > ---------------------------------------- > > Key: SPARK-38932 > URL: https://issues.apache.org/jira/browse/SPARK-38932 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.4.0 > Reporter: XiDuo You > Priority: Major > > Datasource v2 can be used to connect to some databases who support [*unique > key*|https://en.wikipedia.org/wiki/Unique_key]. > Spark catalyst optimizer support do further optimization through unique keys. > So it can improve the performance if the Scan reports its unique keys to > Spark. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org