public FloatWritable evaluate(NullWritable i) {
    return null;
  }
Convert from void to a float. This is called for CAST(... AS FLOAT)

@param i
         The void value to convert
@return FloatWritable
ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToFloat.java