Skip to content

Commit 3398e08

Browse files
yoshiokatsuneoharveyrendell
authored andcommitted
BigQuery: add date, datetime type mapping (getredash#7252)
1 parent fc54584 commit 3398e08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

redash/query_runner/big_query.py

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from redash import settings
88
from redash.query_runner import (
99
TYPE_BOOLEAN,
10+
TYPE_DATE,
1011
TYPE_DATETIME,
1112
TYPE_FLOAT,
1213
TYPE_INTEGER,
@@ -37,6 +38,8 @@
3738
"BOOLEAN": TYPE_BOOLEAN,
3839
"STRING": TYPE_STRING,
3940
"TIMESTAMP": TYPE_DATETIME,
41+
"DATETIME": TYPE_DATETIME,
42+
"DATE": TYPE_DATE,
4043
}
4144

4245

0 commit comments

Comments
 (0)