fix(dremio): query with alias (#23872)

This commit is contained in:
Beto Dealmeida 2023-04-28 15:08:28 -07:00 committed by GitHub
parent 594d3e0e0c
commit 707c626876
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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})",