Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #143: Let the driver determine the dataset location if non given #301

Merged
merged 3 commits into from
May 2, 2024

Conversation

Tylorjg
Copy link
Contributor

@Tylorjg Tylorjg commented Apr 30, 2024

Based on the Google Simba driver documentation, the driver will automatically determine the dataset location.

The Simba Google BigQuery JDBC Connector supports auto-routing for regional dataset locations. If multiple datasets are available in different geographic regions, the connector automatically queries a dataset in the correct region.

This PR leaves the ability to set the location via the JDBC URL, but removes the else statement setting the default to be the US.

…e Simba driver documentation, the location is automatically handled based on where the dataset exists.
@@ -20,7 +20,7 @@
*/

public class BigqueryConnection extends JdbcConnection {
private String location = "US";
private String location = "";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this local variable too.

@filipelautert filipelautert merged commit 6a7ffef into liquibase:main May 2, 2024
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants