You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2023/03/10 01:14:45 UTC

[superset] 01/01: fix(trino): Disallow alias to source column

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

johnbodley pushed a commit to branch john-bodley--trino-disallow-alias-to-source-column
in repository https://gitbox.apache.org/repos/asf/superset.git

commit b6617e73d5e61c5ec841e956f8c7f45bc3aefefa
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Fri Mar 10 14:14:34 2023 +1300

    fix(trino): Disallow alias to source column
---
 superset/db_engine_specs/trino.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/db_engine_specs/trino.py b/superset/db_engine_specs/trino.py
index 82c7566f39..0a18a3e3e8 100644
--- a/superset/db_engine_specs/trino.py
+++ b/superset/db_engine_specs/trino.py
@@ -46,6 +46,7 @@ logger = logging.getLogger(__name__)
 class TrinoEngineSpec(PrestoBaseEngineSpec):
     engine = "trino"
     engine_name = "Trino"
+    allows_alias_to_source_column = False
 
     @classmethod
     def extra_table_metadata(