Skip to content

Commit

Permalink
Spark: Fix the ChangelogScan casting issue (#8167)
Browse files Browse the repository at this point in the history
  • Loading branch information
flyrain authored Jul 28, 2023
1 parent 5cad65a commit 9116118
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public Scan buildCopyOnWriteScan() {

@Override
public Statistics estimateStatistics() {
return ((SparkScan) build()).estimateStatistics();
return ((SupportsReportStatistics) build()).estimateStatistics();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ public Scan buildCopyOnWriteScan() {

@Override
public Statistics estimateStatistics() {
return ((SparkScan) build()).estimateStatistics();
return ((SupportsReportStatistics) build()).estimateStatistics();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ public Scan buildCopyOnWriteScan() {

@Override
public Statistics estimateStatistics() {
return ((SparkScan) build()).estimateStatistics();
return ((SupportsReportStatistics) build()).estimateStatistics();
}

@Override
Expand Down

0 comments on commit 9116118

Please sign in to comment.