This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new d82458f15539 [SPARK-48205][SQL][FOLLOWUP] Add missing tags for the
dataSource API
d82458f15539 is described below
commit d82458f15539eef8df320345a7c2382ca4d5be8a
Author: allisonwang-db <[email protected]>
AuthorDate: Fri May 10 16:31:47 2024 -0700
[SPARK-48205][SQL][FOLLOWUP] Add missing tags for the dataSource API
### What changes were proposed in this pull request?
This is a follow-up PR for https://github.com/apache/spark/pull/46487 to
add missing tags for the `dataSource` API.
### Why are the changes needed?
To address comments from a previous PR.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Existing test
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #46530 from allisonwang-db/spark-48205-followup.
Authored-by: allisonwang-db <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
b/sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
index d5de74455dce..466e4cf81318 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
@@ -233,7 +233,11 @@ class SparkSession private(
/**
* A collection of methods for registering user-defined data sources.
+ *
+ * @since 4.0.0
*/
+ @Experimental
+ @Unstable
def dataSource: DataSourceRegistration = sessionState.dataSourceRegistration
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]