Skip to content

Commit

Permalink
fix(dremio): query with alias (apache#23872)
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida authored Apr 28, 2023
1 parent 594d3e0 commit 707c626
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/db_engine_specs/dremio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})",
Expand Down

0 comments on commit 707c626

Please sign in to comment.