diff --git a/src/metabase/sync/analyze/fingerprint.clj b/src/metabase/sync/analyze/fingerprint.clj index bc678c0da6630342d9d48d9e1b2ce503af8d12a9..e525d55c9bfaa0ad35d1eddfe0a91c52c6f11f86 100644 --- a/src/metabase/sync/analyze/fingerprint.clj +++ b/src/metabase/sync/analyze/fingerprint.clj @@ -195,12 +195,14 @@ "Generate and save fingerprints for all the Fields in `table` that have not been previously analyzed." [table :- i/TableInstance] (if-let [fields (fields-to-fingerprint table)] - (let [stats (sync-util/with-error-handling - (format "Error fingerprinting %s" (sync-util/name-for-logging table)) - (fingerprint-table! table fields))] - (if (instance? Exception stats) - (empty-stats-map 0) - stats)) + (do + (log/infof "Fingerprinting %s fields in table %s" (count fields) (sync-util/name-for-logging table)) + (let [stats (sync-util/with-error-handling + (format "Error fingerprinting %s" (sync-util/name-for-logging table)) + (fingerprint-table! table fields))] + (if (instance? Exception stats) + (empty-stats-map 0) + stats))) (empty-stats-map 0))) (def ^:private LogProgressFn