You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
software.amazon.timestream.jdbc.TimestreamDataSource#getProperties implementation uses region value only if endpoint is not null:
`if (this.endpoint != null) {
if (this.endpoint.isEmpty()) {
final String error = Error.lookup(Error.INVALID_ENDPOINT);
LOGGER.severe(error);
throw new SQLException(error);
}
if (this.region == null) {
final String error = Error.lookup(Error.MISSING_SERVICE_REGION);
LOGGER.severe(error);
throw new SQLException(error);
}
properties.put(TimestreamConnectionProperty.ENDPOINT.getConnectionProperty(), this.endpoint);
properties.put(TimestreamConnectionProperty.REGION.getConnectionProperty(), this.region);
}`
It's impossible to use endpointDiscovery with region override with current implementation. AmazonTimestreamQueryClient supports region override without endpoint value.
The text was updated successfully, but these errors were encountered:
software.amazon.timestream.jdbc.TimestreamDataSource#getProperties implementation uses region value only if endpoint is not null:
`if (this.endpoint != null) {
if (this.endpoint.isEmpty()) {
final String error = Error.lookup(Error.INVALID_ENDPOINT);
LOGGER.severe(error);
throw new SQLException(error);
}
It's impossible to use endpointDiscovery with region override with current implementation. AmazonTimestreamQueryClient supports region override without endpoint value.
The text was updated successfully, but these errors were encountered: