From 336e1d2fb08e3148df658b06c3c80085ae53d086 Mon Sep 17 00:00:00 2001
From: Sergi Almacellas Abellana <sergi@koolpi.com>
Date: Tue, 13 Aug 2019 01:19:22 +0200
Subject: [PATCH] Fix typo in warning message (#10556)

---
 .../query_processor/middleware/add_implicit_clauses.clj         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/metabase/query_processor/middleware/add_implicit_clauses.clj b/src/metabase/query_processor/middleware/add_implicit_clauses.clj
index 768279b4fc4..604fb90f15a 100644
--- a/src/metabase/query_processor/middleware/add_implicit_clauses.clj
+++ b/src/metabase/query_processor/middleware/add_implicit_clauses.clj
@@ -76,7 +76,7 @@
   (when (and source-query (empty? source-metadata))
     (when-not qp.i/*disable-qp-logging*
       (log/warn
-       (trs "Warining: cannot determine fields for an explicit `source-query` unless you also include `source-metadata`."))))
+       (trs "Warning: cannot determine fields for an explicit `source-query` unless you also include `source-metadata`."))))
   ;; Determine whether we can add the implicit `:fields`
   (and (or source-table
            (and source-query (seq source-metadata)))
-- 
GitLab