@Udf(description = "Returns the cosine of an INT value")
  public Double cos(
          @UdfParameter(
                  value = "value",
                  description = "The value in radians to get the cosine of."
          ) final Integer value
  ) {
    return cos(value == null ? null : value.doubleValue());
  }
@Test
  public void shouldHandlePositive() {
    assertThat(udf.cos(0.43), closeTo(0.9089657496748851, 0.000000000000001));
    assertThat(udf.cos(Math.PI), closeTo(-1.0, 0.000000000000001));
    assertThat(udf.cos(2 * Math.PI), closeTo(1.0, 0.000000000000001));
    assertThat(udf.cos(6), closeTo(0.960170286650366, 0.000000000000001));
    assertThat(udf.cos(6L), closeTo(0.960170286650366, 0.000000000000001));
  }