private PTFQueryInputDef translate(PTFQueryInputSpec spec, int inpNum) throws SemanticException { PTFQueryInputDef def = new PTFQueryInputDef(); StructObjectInspector oi = PTFTranslator.getStandardStructOI(inputRR); ShapeDetails shp = setupShape(oi, null, inputRR); def.setOutputShape(shp); def.setType(spec.getType()); def.setAlias(spec.getSource() == null ? "ptf_" + inpNum : spec.getSource()); return def; }
protected void initialize(PTFQueryInputDef def, StructObjectInspector OI) throws HiveException { ShapeDetails outShape = def.getOutputShape(); initialize(outShape, OI); }
private PTFQueryInputDef translate(PTFQueryInputSpec spec, int inpNum) throws SemanticException { PTFQueryInputDef def = new PTFQueryInputDef(); StructObjectInspector oi = PTFTranslator.getStandardStructOI(inputRR); ShapeDetails shp = setupShape(oi, null, inputRR); def.setOutputShape(shp); def.setType(spec.getType()); def.setAlias(spec.getSource() == null ? "ptf_" + inpNum : spec.getSource()); return def; }
protected void initialize(PTFQueryInputDef def, StructObjectInspector OI) throws HiveException { ShapeDetails outShape = def.getOutputShape(); initialize(outShape, OI); }
private PTFQueryInputDef translate(PTFQueryInputSpec spec, int inpNum) throws SemanticException { PTFQueryInputDef def = new PTFQueryInputDef(); StructObjectInspector oi = PTFTranslator.getStandardStructOI(inputRR); ShapeDetails shp = setupShape(oi, null, inputRR); def.setOutputShape(shp); def.setType(spec.getType()); def.setAlias(spec.getSource() == null ? "ptf_" + inpNum : spec.getSource()); return def; }
protected void initialize(PTFQueryInputDef def, StructObjectInspector OI) throws HiveException { ShapeDetails outShape = def.getOutputShape(); initialize(outShape, OI); }