You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2019/07/11 17:50:50 UTC
[incubator-superset] branch master updated: Quick fix (#7843)
This is an automated email from the ASF dual-hosted git repository.
beto 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 a0ad18c Quick fix (#7843)
a0ad18c is described below
commit a0ad18c8ba45843cacb8bf1fbd9362dbd274f1da
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Thu Jul 11 10:50:32 2019 -0700
Quick fix (#7843)
---
superset/db_engine_specs/presto.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/superset/db_engine_specs/presto.py b/superset/db_engine_specs/presto.py
index ef2e2b7..4f4b03e 100644
--- a/superset/db_engine_specs/presto.py
+++ b/superset/db_engine_specs/presto.py
@@ -545,6 +545,10 @@ class PrestoEngineSpec(BaseEngineSpec):
unprocessed_array_columns.add(child_array)
elif child_array and array_column.startswith(child_array):
unprocessed_array_columns.add(array_column)
+ else:
+ # array without any data
+ array_columns_to_process.append(array_column)
+ datum[array_column] = []
return array_columns_to_process, unprocessed_array_columns
@classmethod