// if this is a ReadScalars udf for scalar operation, use the
// FieldSchema corresponding to this position in input
List<Operator> args = plan.getSuccessors(this);
if(args != null && args.size() > 0 ){
int pos = (Integer)((ConstantExpression)args.get(0)).getValue();
LogicalRelationalOperator inp = (LogicalRelationalOperator)implicitReferencedOperator;
if( inp.getSchema() != null){
LogicalFieldSchema inpFs = inp.getSchema().getField(pos);
fieldSchema = new LogicalFieldSchema(inpFs);
// fieldSchema.alias = "ReadScalars_" + fieldSchema.alias;
}else{
fieldSchema = new LogicalFieldSchema(null, null, DataType.BYTEARRAY);
}