@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 shouldHandleNegative() {
    assertThat(Double.isNaN(udf.sqrt(-6.0)), is(true));
  }