Skip to content

Commit e9c2ca8

Browse files
keanji-xseawinde
authored andcommitted
fix func name
1 parent e5ace93 commit e9c2ca8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/AbstractPlan.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public LogicalProperties computeLogicalProperties() {
203203
} else {
204204
Supplier<List<Slot>> outputSupplier = Suppliers.memoize(this::computeOutput);
205205
Supplier<DataTrait> fdSupplier = () -> this instanceof LogicalPlan
206-
? ((LogicalPlan) this).computeFuncDeps()
206+
? ((LogicalPlan) this).computeDataTrait()
207207
: DataTrait.EMPTY_TRAIT;
208208
return new LogicalProperties(outputSupplier, fdSupplier);
209209
}

fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/BlockFuncDepsPropagation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929
public interface BlockFuncDepsPropagation extends LogicalPlan {
3030
@Override
31-
default DataTrait computeFuncDeps() {
31+
default DataTrait computeDataTrait() {
3232
return DataTrait.EMPTY_TRAIT;
3333
}
3434

fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/PropagateFuncDeps.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929
public interface PropagateFuncDeps extends LogicalPlan {
3030
@Override
31-
default DataTrait computeFuncDeps() {
31+
default DataTrait computeDataTrait() {
3232
if (children().size() == 1) {
3333
// Note when changing function dependencies, we always clone it.
3434
// So it's safe to return a reference

fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalPlan.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ default LogicalPlan recomputeLogicalProperties() {
6262
* - BlockFDPropagation: clean the fd
6363
* - PropagateFD: propagate the fd
6464
*/
65-
default DataTrait computeFuncDeps() {
65+
default DataTrait computeDataTrait() {
6666
DataTrait.Builder fdBuilder = new DataTrait.Builder();
6767
computeUniform(fdBuilder);
6868
computeUnique(fdBuilder);

0 commit comments

Comments
 (0)