This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ee70b2  Add type MONEY as numeric type (#3959)
5ee70b2 is described below

commit 5ee70b244b2751b98fefcfc18f11c6109ed7cdcd
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Wed Dec 6 21:49:42 2017 -0800

    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 7ce1914..9bead74 100644
--- a/superset/connectors/base/models.py
+++ b/superset/connectors/base/models.py
@@ -222,7 +222,7 @@ class BaseColumn(AuditMixinNullable, ImportMixin):
 
     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')

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to