Skip to content
Snippets Groups Projects
Commit 4f6b2d8f authored by Cam Saül's avatar Cam Saül
Browse files

Add mappings for BigQuery DATE and DATETIME types [ci drivers]

parent 6b4e6453
Branches
Tags
No related merge requests found
......@@ -93,6 +93,8 @@
"INTEGER" :type/Integer
"RECORD" :type/Dictionary ; RECORD -> field has a nested schema
"STRING" :type/Text
"DATE" :type/Date
"DATETIME" :type/DateTime
"TIMESTAMP" :type/DateTime})
(defn- table-schema->metabase-field-info [^TableSchema schema]
......@@ -142,6 +144,8 @@
"INTEGER" #(Long/parseLong %)
"RECORD" identity
"STRING" identity
"DATE" parse-timestamp-str
"DATETIME" parse-timestamp-str
"TIMESTAMP" parse-timestamp-str})
(defn- post-process-native
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment