HanumathRao commented on a change in pull request #1677: DRILL-7068: Support
memory adjustment framework for resource manageme…
URL: https://github.com/apache/drill/pull/1677#discussion_r263651091
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MakeFragmentsVisitor.java
##########
@@ -57,15 +55,15 @@ public Fragment visitOp(PhysicalOperator op, Fragment
value) throws ForemanSetu
return value;
}
- private Fragment ensureBuilder(Fragment value) throws ForemanSetupException{
- if (value != null) {
- return value;
+ private Fragment ensureBuilder(Fragment currentFragment) throws
ForemanSetupException{
+ if (currentFragment != null) {
+ return currentFragment;
} else {
- return getNextBuilder();
+ return getFragmentBuilder();
}
}
- public Fragment getNextBuilder() {
+ public Fragment getFragmentBuilder() {
Review comment:
Sure. done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services