public void initializePTFChain(PartitionedTableFunctionDef tblFnDef) throws HiveException { Deque<PTFInputDef> ptfChain = new ArrayDeque<PTFInputDef>(); PTFInputDef currentDef = tblFnDef; while (currentDef != null) { ptfChain.push(currentDef); currentDef = currentDef.getInput(); } while (!ptfChain.isEmpty()) { currentDef = ptfChain.pop(); if (currentDef instanceof PTFQueryInputDef) { initialize((PTFQueryInputDef) currentDef, inputOI); } else if (currentDef instanceof WindowTableFunctionDef) { initializeWindowing((WindowTableFunctionDef) currentDef); } else { initialize((PartitionedTableFunctionDef) currentDef); } } PTFDeserializer.alterOutputOIForStreaming(ptfDesc); }
public void initializePTFChain(PartitionedTableFunctionDef tblFnDef) throws HiveException { Deque<PTFInputDef> ptfChain = new ArrayDeque<PTFInputDef>(); PTFInputDef currentDef = tblFnDef; while (currentDef != null) { ptfChain.push(currentDef); currentDef = currentDef.getInput(); } while (!ptfChain.isEmpty()) { currentDef = ptfChain.pop(); if (currentDef instanceof PTFQueryInputDef) { initialize((PTFQueryInputDef) currentDef, inputOI); } else if (currentDef instanceof WindowTableFunctionDef) { initializeWindowing((WindowTableFunctionDef) currentDef); } else { initialize((PartitionedTableFunctionDef) currentDef); } } PTFDeserializer.alterOutputOIForStreaming(ptfDesc); }
public PTFDesc translate(PTFInvocationSpec qSpec, SemanticAnalyzer semAly, HiveConf hCfg, RowResolver inputRR, UnparseTranslator unparseT) throws SemanticException { init(semAly, hCfg, inputRR, unparseT); ptfInvocation = qSpec; ptfDesc = new PTFDesc(); ptfDesc.setCfg(hCfg); ptfDesc.setLlInfo(llInfo); translatePTFChain(); PTFDeserializer.alterOutputOIForStreaming(ptfDesc); return ptfDesc; }
public PTFDesc translate(PTFInvocationSpec qSpec, SemanticAnalyzer semAly, HiveConf hCfg, RowResolver inputRR, UnparseTranslator unparseT) throws SemanticException { init(semAly, hCfg, inputRR, unparseT); ptfInvocation = qSpec; ptfDesc = new PTFDesc(); ptfDesc.setCfg(hCfg); ptfDesc.setLlInfo(llInfo); translatePTFChain(); PTFDeserializer.alterOutputOIForStreaming(ptfDesc); return ptfDesc; }
PTFDeserializer.alterOutputOIForStreaming(ptfDesc);
PTFDeserializer.alterOutputOIForStreaming(ptfDesc);
public void initializePTFChain(PartitionedTableFunctionDef tblFnDef) throws HiveException { Deque<PTFInputDef> ptfChain = new ArrayDeque<PTFInputDef>(); PTFInputDef currentDef = tblFnDef; while (currentDef != null) { ptfChain.push(currentDef); currentDef = currentDef.getInput(); } while (!ptfChain.isEmpty()) { currentDef = ptfChain.pop(); if (currentDef instanceof PTFQueryInputDef) { initialize((PTFQueryInputDef) currentDef, inputOI); } else if (currentDef instanceof WindowTableFunctionDef) { initializeWindowing((WindowTableFunctionDef) currentDef); } else { initialize((PartitionedTableFunctionDef) currentDef); } } PTFDeserializer.alterOutputOIForStreaming(ptfDesc); }
public PTFDesc translate(PTFInvocationSpec qSpec, SemanticAnalyzer semAly, HiveConf hCfg, RowResolver inputRR, UnparseTranslator unparseT) throws SemanticException { init(semAly, hCfg, inputRR, unparseT); ptfInvocation = qSpec; ptfDesc = new PTFDesc(); ptfDesc.setCfg(hCfg); ptfDesc.setLlInfo(llInfo); translatePTFChain(); PTFDeserializer.alterOutputOIForStreaming(ptfDesc); return ptfDesc; }
PTFDeserializer.alterOutputOIForStreaming(ptfDesc);