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

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

commit e81f3746d20fb016aa1cd0ba2bb4410dc5b26d11
Author: Daniel Vaz Gaspar <[email protected]>
AuthorDate: Tue Sep 10 17:53:27 2019 +0100

    [examples] Fix, sf population polygons div by zero error (#8209)
---
 superset/examples/sf_population_polygons.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/examples/sf_population_polygons.py 
b/superset/examples/sf_population_polygons.py
index 738ac41..0aee4e2 100644
--- a/superset/examples/sf_population_polygons.py
+++ b/superset/examples/sf_population_polygons.py
@@ -17,7 +17,7 @@
 import json
 
 import pandas as pd
-from sqlalchemy import BigInteger, Text
+from sqlalchemy import BigInteger, Float, Text
 
 from superset import db
 from superset.utils import core as utils
@@ -43,7 +43,7 @@ def load_sf_population_polygons(only_metadata=False, 
force=False):
                 "zipcode": BigInteger,
                 "population": BigInteger,
                 "contour": Text,
-                "area": BigInteger,
+                "area": Float,
             },
             index=False,
         )

Reply via email to