[bugfix](external)Modify the default value of pushdowncount for 2.1 (#37754) (#38591)

bp: #37754
This commit is contained in:
wuwenchi
2024-08-01 12:10:54 +08:00
committed by GitHub
parent 057ee1905f
commit c310b92727

View File

@ -98,7 +98,10 @@ public abstract class FileScanNode extends ExternalScanNode {
}
public long getPushDownCount() {
return 0;
// 1. Do not use `0`: If the number of entries in the table is 0,
// it is unclear whether optimization has been performed.
// 2. Do not use `null` or `-`: This makes it easier for the program to parse the `explain` data.
return -1;
}
@Override