From 8038b5f4d12944eaa4288f0e509606bdd669a03a Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 29 Nov 2017 20:42:39 -0800 Subject: [PATCH] Add type MONEY as numeric type 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')