Skip to content

Commit a1301f5

Browse files
committed
more comments
1 parent abcc606 commit a1301f5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
package org.apache.spark.sql.sources.v2;
1919

2020
/**
21-
* The base interface for data source v2 implementations.
21+
* The base interface for data source v2. Implementations must have a public, no arguments
22+
* constructor.
2223
*
2324
* Note that this is an empty interface, data source implementations should mix-in at least one of
2425
* the plug-in interfaces like `ReadSupport`. Otherwise it's just a dummy data source which is

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import java.util.OptionalLong;
2121

2222
/**
23-
* An interface to represent statistics for a data source.
23+
* An interface to represent statistics for a data source, which is returned by
24+
* `SupportsReportStatistics`.
2425
*/
2526
public interface Statistics {
2627
OptionalLong sizeInBytes();

0 commit comments

Comments
 (0)