-
- Downloads
Fixing Google Analytics failures on new instances (#12595)
This stops a failure during fingerprinting of a table from causing the entire sync to fail. Fingerprinting is now skipped for Google Analytics datasources, as they do not support this (all queries against GA require a `metrics` parameter) Add an assert to ensure that `:metrics` is present in a GA query. The Google library will fail with a NPE when it's not. Resolves #12411 [ci googleanalytics]
Showing
- modules/drivers/googleanalytics/src/metabase/driver/googleanalytics.clj 2 additions, 0 deletions...s/googleanalytics/src/metabase/driver/googleanalytics.clj
- src/metabase/sync/analyze/fingerprint.clj 13 additions, 3 deletionssrc/metabase/sync/analyze/fingerprint.clj
- test/metabase/sync/analyze/fingerprint_test.clj 16 additions, 1 deletiontest/metabase/sync/analyze/fingerprint_test.clj
Please register or sign in to comment