From 1e0d9e99e08f9b15426d5806e555cacde4836b46 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 6 Dec 2017 21:49:42 -0800 Subject: [PATCH] Add type MONEY as numeric type (#3959) fixes https://github.com/apache/incubator-superset/issues/3953 --- superset/connectors/base/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/connectors/base/models.py b/superset/connectors/base/models.py index 7ce19145439dd..9bead749ddd1a 100644 --- a/superset/connectors/base/models.py +++ b/superset/connectors/base/models.py @@ -222,7 +222,7 @@ def __repr__(self): num_types = ( 'DOUBLE', 'FLOAT', 'INT', 'BIGINT', - 'LONG', 'REAL', 'NUMERIC', 'DECIMAL', + 'LONG', 'REAL', 'NUMERIC', 'DECIMAL', 'MONEY', ) date_types = ('DATE', 'TIME', 'DATETIME') str_types = ('VARCHAR', 'STRING', 'CHAR')