mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
chore(engine): Translate fractional time grains—requires @superset-ui bump (#17078)
* chore(engine): Translate fractional time grains * Bump @superset-ui Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -36,7 +36,7 @@ class FireboltEngineSpec(BaseEngineSpec):
|
||||
"P1D": "date_trunc('day', CAST({col} AS TIMESTAMP))",
|
||||
"P1W": "date_trunc('week', CAST({col} AS TIMESTAMP))",
|
||||
"P1M": "date_trunc('month', CAST({col} AS TIMESTAMP))",
|
||||
"P0.25Y": "date_trunc('quarter', CAST({col} AS TIMESTAMP))",
|
||||
"P3M": "date_trunc('quarter', CAST({col} AS TIMESTAMP))",
|
||||
"P1Y": "date_trunc('year', CAST({col} AS TIMESTAMP))",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user