Adding LONG to list of numeric types, updating TODO

This commit is contained in:
Maxime Beauchemin
2016-03-27 22:51:45 -07:00
parent 26c725171b
commit 09021aacad
2 changed files with 3 additions and 4 deletions

View File

@@ -1,9 +1,6 @@
# TODO
List of TODO items for Dashed
range filter formatter
sankey example is missing
## Important
* **Getting proper JS testing:** unit tests on the Python side are pretty
solid, but now we need a test suite for the JS part of the site,
@@ -39,6 +36,8 @@ sankey example is missing
## Easy-ish fix
* Build matrix to include mysql using tox
* Figure out why coverage isn't working
* Kill switch for Druid in docs
* CREATE VIEW button from SQL editor
* Test button for when editing SQL expression

View File

@@ -634,7 +634,7 @@ class SqlaTable(Model, Queryable, AuditMixinNullable):
db.session.flush()
if not dbcol:
dbcol = TableColumn(column_name=col.name)
num_types = ('DOUBLE', 'FLOAT', 'INT', 'BIGINT')
num_types = ('DOUBLE', 'FLOAT', 'INT', 'BIGINT', 'LONG')
datatype = str(datatype).upper()
if (
str(datatype).startswith('VARCHAR') or