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 committed Jul 28, 2023
1 parent 5cad65a commit 9116118
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -420,7 +420,7 @@ public Scan buildCopyOnWriteScan() {

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

@Override
Expand Down
Expand Up @@ -658,7 +658,7 @@ public Scan buildCopyOnWriteScan() {

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

@Override
Expand Down
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.