@Udf
  public <T> T asValue(final T keyColumn) {
    return keyColumn;
  }
@Test
  public void shouldHandleNullPrimitiveTypes() {
    assertThat(udf.asValue((Boolean)null), is(nullValue()));
    assertThat(udf.asValue((Integer) null), is(nullValue()));
    assertThat(udf.asValue((Long) null), is(nullValue()));
    assertThat(udf.asValue((Double) null), is(nullValue()));
    assertThat(udf.asValue((String) null), is(nullValue()));
  }