Skip to content

Commit 83d199d

Browse files
committed
address comment
1 parent 4bd5aad commit 83d199d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sql/core/src/main/java/org/apache/spark/sql/sources/v2/TableProvider.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424

2525
/**
2626
* The base interface for v2 data sources which don't have a real catalog. Implementations must
27-
* have a public, 0-arg constructor, and can only deal with existing tables.
27+
* have a public, 0-arg constructor.
28+
* <p>
29+
* Note that, TableProvider can only apply data operations to existing tables, like read, append,
30+
* delete, and overwrite. Not operations that require metadata changes, like create/drop tables.
2831
* <p>
2932
* The major responsibility of this interface is to return a {@link Table} for read/write.
3033
* </p>

0 commit comments

Comments
 (0)