@Udf
  public Long round(@UdfParameter final long val) {
    return val;
  }
@Test
  public void shoulldHandleNullDecimalPlaces() {
    assertThat(udf.round(1.75d, null), is(nullValue()));
    assertThat(udf.round(new BigDecimal("1.75"), null), is(nullValue()));
  }