From 99a096554bdaa812828ee0e91735a4cfe427b9f7 Mon Sep 17 00:00:00 2001 From: Beto Dealmeida Date: Fri, 28 Apr 2023 11:08:27 -0700 Subject: [PATCH] fix(dremio): query with alias --- superset/db_engine_specs/dremio.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superset/db_engine_specs/dremio.py b/superset/db_engine_specs/dremio.py index 08a10f12a225c..7fae3014d6866 100644 --- a/superset/db_engine_specs/dremio.py +++ b/superset/db_engine_specs/dremio.py @@ -26,6 +26,8 @@ class DremioEngineSpec(BaseEngineSpec): engine = "dremio" engine_name = "Dremio" + allows_alias_in_select = False + _time_grain_expressions = { None: "{col}", "PT1S": "DATE_TRUNC('second', {col})",