@Override public VectorMapJoinDesc clone() { VectorMapJoinDesc clone = new VectorMapJoinDesc(); clone.hashTableImplementationType = this.hashTableImplementationType; clone.hashTableKind = this.hashTableKind; clone.hashTableKeyType = this.hashTableKeyType; clone.vectorMapJoinVariation = this.vectorMapJoinVariation; clone.minMaxEnabled = this.minMaxEnabled; if (vectorMapJoinInfo != null) { throw new RuntimeException("Cloning VectorMapJoinInfo not supported"); } return clone; }
@Override public VectorMapJoinDesc clone() { VectorMapJoinDesc clone = new VectorMapJoinDesc(); clone.hashTableImplementationType = this.hashTableImplementationType; clone.hashTableKind = this.hashTableKind; clone.hashTableKeyType = this.hashTableKeyType; clone.operatorVariation = this.operatorVariation; clone.minMaxEnabled = this.minMaxEnabled; if (vectorMapJoinInfo != null) { throw new RuntimeException("Cloning VectorMapJoinInfo not supported"); } return clone; }
VectorMapJoinDesc vectorDesc = new VectorMapJoinDesc(); desc.setVectorDesc(vectorDesc);
private void runEstimationCheck(HashTableKeyType l) throws SerDeException, IOException, HiveException { MapJoinDesc desc = new MapJoinDesc(); VectorMapJoinDesc vectorDesc = new VectorMapJoinDesc(); vectorDesc.setHashTableKeyType(l); vectorDesc.setIsFastHashTableEnabled(true);
VectorMapJoinDesc vectorMapJoinDesc = new VectorMapJoinDesc();
VectorMapJoinDesc vectorMapJoinDesc = new VectorMapJoinDesc(); boolean specialize = canSpecializeMapJoin(op, desc, isTezOrSpark, vContext, vectorMapJoinDesc);
public static VectorMapJoinDesc createVectorMapJoinDesc(MapJoinTestDescription testDesc) { VectorMapJoinDesc vectorDesc = new VectorMapJoinDesc(); vectorDesc.setHashTableImplementationType(HashTableImplementationType.FAST); HashTableKind hashTableKind;
public MapJoinDesc(MapJoinDesc clone) { super(clone); vectorDesc = new VectorMapJoinDesc(clone.vectorDesc); this.keys = clone.keys; this.keyTblDesc = clone.keyTblDesc; this.valueTblDescs = clone.valueTblDescs; this.posBigTable = clone.posBigTable; this.valueIndices = clone.valueIndices; this.retainList = clone.retainList; this.bigTableAlias = clone.bigTableAlias; this.aliasBucketFileNameMapping = clone.aliasBucketFileNameMapping; this.bigTableBucketNumMapping = clone.bigTableBucketNumMapping; this.bigTablePartSpecToFileMapping = clone.bigTablePartSpecToFileMapping; this.dumpFilePrefix = clone.dumpFilePrefix; this.parentToInput = clone.parentToInput; this.parentKeyCounts = clone.parentKeyCounts; this.parentDataSizes = clone.parentDataSizes; this.isBucketMapJoin = clone.isBucketMapJoin; this.isHybridHashJoin = clone.isHybridHashJoin; }
public MapJoinDesc() { vectorDesc = new VectorMapJoinDesc(); bigTableBucketNumMapping = new LinkedHashMap<String, Integer>(); }
public MapJoinDesc(final Map<Byte, List<ExprNodeDesc>> keys, final TableDesc keyTblDesc, final Map<Byte, List<ExprNodeDesc>> values, final List<TableDesc> valueTblDescs,final List<TableDesc> valueFilteredTblDescs, List<String> outputColumnNames, final int posBigTable, final JoinCondDesc[] conds, final Map<Byte, List<ExprNodeDesc>> filters, boolean noOuterJoin, String dumpFilePrefix) { super(values, outputColumnNames, noOuterJoin, conds, filters, null); vectorDesc = new VectorMapJoinDesc(); this.keys = keys; this.keyTblDesc = keyTblDesc; this.valueTblDescs = valueTblDescs; this.valueFilteredTblDescs = valueFilteredTblDescs; this.posBigTable = posBigTable; this.bigTableBucketNumMapping = new LinkedHashMap<String, Integer>(); this.dumpFilePrefix = dumpFilePrefix; initRetainExprList(); }