Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.8.0
-
None
-
None
-
None
Description
The Physical Operator (pop) definition for External sort contains the following:
public class ExternalSort extends Sort { private long initialAllocation = 20000000;
But,
public abstract class AbstractBase implements PhysicalOperator{ protected long initialAllocation = 1000000L;
The result is that the variable in ExternalSort shadows the one in AbstractBase. Jackson deserialization sets the one in AbstractBase, but the method getInitialAllocation() returns the shadowed one in ExternalSort.
Remove the shadowed initialAllocation from ExternalSort and move the initializer into the constructor.