This is an automated email from the ASF dual-hosted git repository. johnbodley 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 74f0817 [hive] Fixing where lastest partition logic (#6357) 74f0817 is described below commit 74f0817bf0e3469c27df0f49a6b29fa0a71e3c9b Author: John Bodley <4567245+john-bod...@users.noreply.github.com> AuthorDate: Mon Nov 12 10:07:38 2018 -0800 [hive] Fixing where lastest partition logic (#6357) --- superset/db_engine_specs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/db_engine_specs.py b/superset/db_engine_specs.py index 4c952b8..19f55ea 100644 --- a/superset/db_engine_specs.py +++ b/superset/db_engine_specs.py @@ -1193,8 +1193,8 @@ class HiveEngineSpec(PrestoEngineSpec): # table is not partitioned return False for c in columns: - if str(c.name) == str(col_name): - return qry.where(c == str(value)) + if c.get('name') == col_name: + return qry.where(Column(col_name) == value) return False @classmethod