@Override
  public String getURL( String hostname, String port, String databaseName ) throws KettleDatabaseException {
    StringBuilder urlBuilder = new StringBuilder();
    urlBuilder.append( "jdbc:athena://" );
    appendProperty( urlBuilder, Params.WORKGROUP, getMandatoryAttribute( Attributes.WORKGROUP ) );
    appendProperty( urlBuilder, Params.REGION, getMandatoryAttribute( Attributes.REGION ) );
    appendProperty( urlBuilder, Params.CATALOG, getMandatoryAttribute( Attributes.CATALOG ) );
    appendProperty( urlBuilder, Params.DATABASE, databaseName );
    appendProperty( urlBuilder, Params.OUTPUT_LOCATION, getMandatoryAttribute( Attributes.OUTPUT_LOCATION ) );
    appendProperty( urlBuilder, Params.CREDENTIALS_PROVIDER, getMandatoryAttribute( Attributes.AUTH_TYPE ) );
    if ( getAuthType() == AuthType.ProfileCredentials ) {
      appendProperty( urlBuilder, Params.PROFILE_NAME, getMandatoryAttribute( Attributes.PROFILE_NAME ) );
    }
    return urlBuilder.toString();
  }
@Test( expected = KettleDatabaseException.class )
  public void testNoPath() throws Exception {
    DatabaseMeta dbMeta = getDBMeta();
    dbMeta.getURL();
  }