@Override public Object deserialize(Writable writable) throws SerDeException {
    final DruidWritable input = (DruidWritable) writable;
    final List<Object> output = Lists.newArrayListWithExpectedSize(columns.length);
    for (int i = 0; i < columns.length; i++) {
      final Object value = input.isCompacted() ? input.getCompactedValue().get(i) : input.getValue().get(columns[i]);
      if (value == null) {
        output.add(null);
      } else {
        output.add(convertAsPrimitive(value, types[i]));
      }
    }
    return output;
  }
@param writable Druid Writable to be deserialized.
@return List of Hive Writables.
@throws SerDeException if there is Serde issues.
druid-handler/src/java/org/apache/hadoop/hive/druid/serde/DruidSerDe.java