@Udf
  public String extractPath(
      @UdfParameter(description = "a valid URL") final String input) {
    return UrlParser.extract(input, URI::getPath);
  }
@Test
  public void shouldExtractPathIfPresent() {
    assertThat(extractUdf.extractPath("https://docs.confluent.io/current/ksql/docs/syntax-reference.html#scalar-functions"), equalTo("/current/ksql/docs/syntax-reference.html"));
  }