presto-phoenix/src/main/java/io/prestosql/plugin/phoenix/PhoenixClientModule.java/PhoenixClientModule/getConnectionFactory
class PhoenixClientModule:    @Provides
    @Singleton
    public ConnectionFactory getConnectionFactory(PhoenixConfig config)
            throws SQLException
    {
        return new StatisticsAwareConnectionFactory(
                new DriverConnectionFactory(
                        DriverManager.getDriver(config.getConnectionUrl()),
                        config.getConnectionUrl(),
                        getConnectionProperties(config),
                        new ExtraCredentialProvider(
                                Optional.empty(),
                                Optional.empty(),
                                new ConfigFileBasedCredentialProvider(new CredentialConfig()))));
    }