From d8b3ebf317d7233c03ddcd5c33d3fcc4614b5d05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cam=20Sa=C3=BCl?= <cammsaul@gmail.com>
Date: Mon, 21 Nov 2016 12:01:23 -0800
Subject: [PATCH] Parse BigQuery ints as longs [ci drivers] (Credit:
 @felipegasparini)

---
 src/metabase/driver/bigquery.clj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/metabase/driver/bigquery.clj b/src/metabase/driver/bigquery.clj
index 30373c2386e..5bb511027af 100644
--- a/src/metabase/driver/bigquery.clj
+++ b/src/metabase/driver/bigquery.clj
@@ -139,7 +139,7 @@
   "Functions that should be used to coerce string values in responses to the appropriate type for their column."
   {"BOOLEAN"   #(Boolean/parseBoolean %)
    "FLOAT"     #(Double/parseDouble %)
-   "INTEGER"   #(Integer/parseInt %)
+   "INTEGER"   #(Long/parseLong %)
    "RECORD"    identity
    "STRING"    identity
    "TIMESTAMP" parse-timestamp-str})
-- 
GitLab