We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bbf094 commit 91edcb5Copy full SHA for 91edcb5
sqlit/domains/connections/providers/bigquery/adapter.py
@@ -61,6 +61,12 @@ def supports_cross_database_queries(self) -> bool:
61
# BigQuery supports cross-dataset queries
62
return True
63
64
+ def apply_database_override(self, config: ConnectionConfig, database: str) -> ConnectionConfig:
65
+ """Apply a default dataset for unqualified queries."""
66
+ if not database:
67
+ return config
68
+ return config.with_endpoint(database=database)
69
+
70
@property
71
def system_databases(self) -> frozenset[str]:
72
return frozenset({"INFORMATION_SCHEMA"})
0 commit comments