diff --git a/src/metabase/driver/bigquery.clj b/src/metabase/driver/bigquery.clj index 5bb511027af735437e892f08232b86f5f7378260..dd287472d2d169ce7019d93f136d3b032cdd616a 100644 --- a/src/metabase/driver/bigquery.clj +++ b/src/metabase/driver/bigquery.clj @@ -419,9 +419,9 @@ ;; people can manually specifiy "foreign key" relationships in admin and everything should work correctly. ;; Since we can't infer any "FK" relationships during sync our normal FK tests are not appropriate for BigQuery, so they're disabled for the time being. ;; TODO - either write BigQuery-speciifc tests for FK functionality or add additional code to manually set up these FK relationships for FK tables - :features (constantly (when-not config/is-test? - ;; during unit tests don't treat bigquery as having FK support - #{:foreign-keys})) + :features (constantly (set/union #{:basic-aggregations} (when-not config/is-test? + ;; during unit tests don't treat bigquery as having FK support + #{:foreign-keys}))) :field-values-lazy-seq (u/drop-first-arg field-values-lazy-seq) :mbql->native (u/drop-first-arg mbql->native)}))