Skip to content

Commit

Permalink
fix func name
Browse files Browse the repository at this point in the history
  • Loading branch information
keanji-x authored and seawinde committed Jul 2, 2024
1 parent e5ace93 commit e9c2ca8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public LogicalProperties computeLogicalProperties() {
} else {
Supplier<List<Slot>> outputSupplier = Suppliers.memoize(this::computeOutput);
Supplier<DataTrait> fdSupplier = () -> this instanceof LogicalPlan
? ((LogicalPlan) this).computeFuncDeps()
? ((LogicalPlan) this).computeDataTrait()
: DataTrait.EMPTY_TRAIT;
return new LogicalProperties(outputSupplier, fdSupplier);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
public interface BlockFuncDepsPropagation extends LogicalPlan {
@Override
default DataTrait computeFuncDeps() {
default DataTrait computeDataTrait() {
return DataTrait.EMPTY_TRAIT;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
public interface PropagateFuncDeps extends LogicalPlan {
@Override
default DataTrait computeFuncDeps() {
default DataTrait computeDataTrait() {
if (children().size() == 1) {
// Note when changing function dependencies, we always clone it.
// So it's safe to return a reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ default LogicalPlan recomputeLogicalProperties() {
* - BlockFDPropagation: clean the fd
* - PropagateFD: propagate the fd
*/
default DataTrait computeFuncDeps() {
default DataTrait computeDataTrait() {
DataTrait.Builder fdBuilder = new DataTrait.Builder();
computeUniform(fdBuilder);
computeUnique(fdBuilder);
Expand Down

0 comments on commit e9c2ca8

Please sign in to comment.