diff --git a/superset/views/core.py b/superset/views/core.py index 802b8919887a9..85cc1c4dd412c 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -1101,7 +1101,9 @@ def filter(self, datasource_type, datasource_id, column): if not self.datasource_access(datasource): return json_error_response(DATASOURCE_ACCESS_ERR) - payload = json.dumps(datasource.values_for_column(column)) + payload = json.dumps( + datasource.values_for_column(column), + default=utils.json_int_dttm_ser) return json_success(payload) def save_or_overwrite_slice(