Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ public interface SupportsRuntimeFiltering extends SupportsRuntimeV2Filtering {
* the originally reported partitioning during runtime filtering. While applying runtime filters,
* the scan may detect that some {@link InputPartition}s have no matching data. It can omit
* such partitions entirely only if it does not report a specific partitioning. Otherwise,
* the scan can replace the initially planned {@link InputPartition}s that have no matching
* data with empty {@link InputPartition}s but must preserve the overall number of partitions.
* the scan can either replace the initially planned {@link InputPartition}s that have no
* matching data with empty {@link InputPartition}s, or report only a subset of the original
* partition values (omitting those with no data). The scan must not report new partition values
* that were not present in the original partitioning.
* <p>
* Note that Spark will call {@link Scan#toBatch()} again after filtering the scan at runtime.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ public interface SupportsRuntimeV2Filtering extends Scan {
* the originally reported partitioning during runtime filtering. While applying runtime
* predicates, the scan may detect that some {@link InputPartition}s have no matching data. It
* can omit such partitions entirely only if it does not report a specific partitioning.
* Otherwise, the scan can replace the initially planned {@link InputPartition}s that have no
* matching data with empty {@link InputPartition}s but must preserve the overall number of
* partitions.
* Otherwise, the scan can either replace the initially planned {@link InputPartition}s that
* have no matching data with empty {@link InputPartition}s, or report only a subset of the
* original partition values (omitting those with no data). The scan must not report new
* partition values that were not present in the original partitioning.
* <p>
* Note that Spark will call {@link Scan#toBatch()} again after filtering the scan at runtime.
*
Expand Down