From a3d3c29538bf125afd639d2c0f3923a11a429841 Mon Sep 17 00:00:00 2001
From: Simon Belak <simon@metabase.com>
Date: Fri, 14 Dec 2018 15:57:00 +0100
Subject: [PATCH] update snapshot

---
 .../MetabaseApi.integ.spec.js.snap            | 152 +++++++++++-------
 1 file changed, 97 insertions(+), 55 deletions(-)

diff --git a/frontend/test/services/__snapshots__/MetabaseApi.integ.spec.js.snap b/frontend/test/services/__snapshots__/MetabaseApi.integ.spec.js.snap
index e68399a4cc8..bbffc3914c0 100644
--- a/frontend/test/services/__snapshots__/MetabaseApi.integ.spec.js.snap
+++ b/frontend/test/services/__snapshots__/MetabaseApi.integ.spec.js.snap
@@ -435,7 +435,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 3,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 1,
@@ -517,17 +517,21 @@ Object {
       "display_name": "Discount",
       "fingerprint": Object {
         "global": Object {
-          "distinct-count": 700,
+          "distinct-count": 701,
+	  "nil%": 0.898,
         },
         "type": Object {
           "type/Number": Object {
-            "avg": 5.161255547580321,
-            "max": 61.69684269960571,
-            "min": 0.17088996672584322,
+             "avg": 5.161255547580326,
+             "max": 61.69684269960571,
+	     "min": 0.17088996672584322,
+    	     "q1": 2.9786226681458743,
+             "q3": 7.338187788658235,
+             "sd": 3.053663125001991,
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 35,
@@ -557,6 +561,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 10000,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -566,7 +571,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 2,
@@ -596,6 +601,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 200,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -605,7 +611,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": 24,
       "has_field_values": "none",
       "id": 3,
@@ -629,6 +635,7 @@ Object {
         "fingerprint": Object {
           "global": Object {
             "distinct-count": 200,
+	    "nil%": 0,
           },
           "type": Object {
             "type/Number": Object {
@@ -638,7 +645,7 @@ Object {
             },
           },
         },
-        "fingerprint_version": 2,
+        "fingerprint_version": 4,
         "fk_target_field_id": null,
         "has_field_values": "none",
         "id": 24,
@@ -722,16 +729,20 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 62,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
             "avg": 3.7015,
             "max": 100,
             "min": 0,
+	    "q1": 1.755882607764982,
+            "q3": 4.882654507928044,
+    	    "sd": 4.214258386403798,
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "list",
       "id": 36,
@@ -814,16 +825,20 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 340,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
-            "avg": 77.01295465356537,
+            "avg": 77.01295465356547,
             "max": 148.22900526552291,
             "min": 15.691943673970439,
+            "q1": 49.74894519060184,
+            "q3": 105.42965746993103,
+            "sd": 32.53705013056317,
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 4,
@@ -906,16 +921,20 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 797,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
-            "avg": 3.8722099999999875,
+            "avg": 3.8722100000000004,
             "max": 11.12,
             "min": 0,
+            "q1": 2.273340386603857,
+            "q3": 5.337275338216307,
+            "sd": 2.3206651358900316,
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 5,
@@ -998,6 +1017,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 10000,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -1007,7 +1027,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 6,
@@ -1037,16 +1057,10 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 929,
-        },
-        "type": Object {
-          "type/Number": Object {
-            "avg": 678.6893,
-            "max": 1322,
-            "min": 1,
-          },
+	  "nil%": 0,
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": 13,
       "has_field_values": "none",
       "id": 7,
@@ -1070,16 +1084,20 @@ Object {
         "fingerprint": Object {
           "global": Object {
             "distinct-count": 2500,
+	    "nil%": 0,
           },
           "type": Object {
             "type/Number": Object {
-              "avg": 1250.5,
-              "max": 2500,
-              "min": 1,
+              "avg": 82.96014815230805,
+              "max": 238.32732001721533,
+              "min": 12.061602936923117,
+              "q1": 52.006147617878135,
+              "q3": 109.55803018499738,
+              "sd": 38.35967664847571,
             },
           },
         },
-        "fingerprint_version": 2,
+        "fingerprint_version": 4,
         "fk_target_field_id": null,
         "has_field_values": "none",
         "id": 13,
@@ -1392,6 +1410,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 2490,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -1402,7 +1421,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 8,
@@ -1585,7 +1604,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 3,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 9,
@@ -1615,6 +1634,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 1966,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -1625,7 +1645,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 10,
@@ -1808,7 +1828,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 3,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 11,
@@ -1838,6 +1858,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 2500,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -1848,7 +1869,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 12,
@@ -1878,6 +1899,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 2500,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -1887,7 +1909,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 13,
@@ -1980,6 +2002,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 2491,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -1989,7 +2012,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 14,
@@ -2082,6 +2105,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 2491,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -2091,7 +2115,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 15,
@@ -2121,6 +2145,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 2499,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -2131,7 +2156,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 16,
@@ -2161,6 +2186,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 2500,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -2171,7 +2197,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 17,
@@ -2201,6 +2227,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 5,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -2211,7 +2238,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "list",
       "id": 18,
@@ -2241,6 +2268,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 49,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -2251,7 +2279,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "list",
       "id": 19,
@@ -2281,6 +2309,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 2235,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -2291,7 +2320,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 20,
@@ -2603,6 +2632,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 4,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -2613,7 +2643,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "list",
       "id": 21,
@@ -2796,7 +2826,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 3,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 22,
@@ -2826,6 +2856,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 200,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -2836,7 +2867,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 23,
@@ -2866,6 +2897,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 200,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -2875,7 +2907,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 24,
@@ -2958,6 +2990,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 170,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -2967,7 +3000,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 25,
@@ -3050,6 +3083,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 23,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -3059,7 +3093,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "list",
       "id": 26,
@@ -3089,6 +3123,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 199,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -3099,7 +3134,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 27,
@@ -3129,6 +3164,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 200,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -3139,7 +3175,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 28,
@@ -3451,6 +3487,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 1112,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -3461,7 +3498,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 29,
@@ -3644,7 +3681,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 3,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 30,
@@ -3674,6 +3711,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 1112,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -3683,7 +3721,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "none",
       "id": 31,
@@ -3713,6 +3751,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 176,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -3722,7 +3761,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": 24,
       "has_field_values": "none",
       "id": 32,
@@ -3746,6 +3785,7 @@ Object {
         "fingerprint": Object {
           "global": Object {
             "distinct-count": 200,
+	    "nil%": 0,
           },
           "type": Object {
             "type/Number": Object {
@@ -3755,7 +3795,7 @@ Object {
             },
           },
         },
-        "fingerprint_version": 2,
+        "fingerprint_version": 4,
         "fk_target_field_id": null,
         "has_field_values": "none",
         "id": 24,
@@ -3839,6 +3879,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 5,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Number": Object {
@@ -3848,7 +3889,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "list",
       "id": 33,
@@ -3878,6 +3919,7 @@ Object {
       "fingerprint": Object {
         "global": Object {
           "distinct-count": 1076,
+	  "nil%": 0,
         },
         "type": Object {
           "type/Text": Object {
@@ -3888,7 +3930,7 @@ Object {
           },
         },
       },
-      "fingerprint_version": 2,
+      "fingerprint_version": 4,
       "fk_target_field_id": null,
       "has_field_values": "search",
       "id": 34,
-- 
GitLab