@Udf(description = "Returns the tangent of an INT value")
  public Double tan(
          @UdfParameter(
                  value = "value",
                  description = "The value in radians to get the tangent of."
          ) final Integer value
  ) {
    return tan(value == null ? null : value.doubleValue());
  }
@Test
  public void shouldHandlePositive() {
    assertThat(udf.tan(0.43), closeTo(0.45862102348555517, 0.000000000000001));
    assertThat(udf.tan(Math.PI), closeTo(0, 0.000000000000001));
    assertThat(udf.tan(Math.PI * 2), closeTo(0, 0.000000000000001));
    assertThat(udf.tan(Math.PI / 2), closeTo(1.633123935319537E16, 0.000000000000001));
    assertThat(udf.tan(6), closeTo(-0.29100619138474915, 0.000000000000001));
    assertThat(udf.tan(6L), closeTo(-0.29100619138474915, 0.000000000000001));
  }