public class SplittingParallelizer extends DefaultQueryParallelizer
SimpleParallelizer.CountRequiredFragments
Constructor and Description |
---|
SplittingParallelizer(boolean doMemoryPlanning,
QueryContext context) |
Modifier and Type | Method and Description |
---|---|
List<QueryWorkUnit> |
getSplitFragments(OptionList options,
CoordinationProtos.DrillbitEndpoint foremanNode,
UserBitShared.QueryId queryId,
Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints,
PhysicalPlanReader reader,
Fragment rootFragment,
UserSession session,
BitControl.QueryContextInformation queryContextInfo)
Create multiple physical plans from original query planning, it will allow execute them eventually independently
|
adjustMemory, getMemory
collectStatsAndParallelizeFragments, generateWorkUnit, generateWorkUnit, getAffinityFactor, getMaxGlobalWidth, getMaxWidthPerNode, getRootFragments, getSliceTarget, initFragmentWrappers, prepareFragmentTree, traverse
public SplittingParallelizer(boolean doMemoryPlanning, QueryContext context)
public List<QueryWorkUnit> getSplitFragments(OptionList options, CoordinationProtos.DrillbitEndpoint foremanNode, UserBitShared.QueryId queryId, Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints, PhysicalPlanReader reader, Fragment rootFragment, UserSession session, BitControl.QueryContextInformation queryContextInfo) throws ExecutionSetupException
getSplitFragments
in class SimpleParallelizer
options
- foremanNode
- queryId
- activeEndpoints
- reader
- rootFragment
- session
- queryContextInfo
- ExecutionSetupException
Copyright © 1970 The Apache Software Foundation. All rights reserved.