@Udf(description = "Returns the correctly rounded positive square root of a DOUBLE value")
  public Double sqrt(
      @UdfParameter(
          value = "value",
          description = "The value to get the square root of."
      ) final Integer value
  ) {
    return sqrt(value == null ? null : value.doubleValue());
  }
@Test
  public void shouldHandlePositive() {
    assertThat(udf.sqrt(4), is(2.0));
    assertThat(udf.sqrt(3), is(1.7320508075688772));
    assertThat(udf.sqrt(1.0), is(1.0));
  }