mirror of
https://github.com/apache/superset.git
synced 2026-04-23 10:04:45 +00:00
Add option to specify type specific date truncation functions (#9238)
This commit is contained in:
@@ -26,7 +26,7 @@ class ExasolEngineSpec(BaseEngineSpec): # pylint: disable=abstract-method
|
||||
max_column_name_length = 128
|
||||
|
||||
# Exasol's DATE_TRUNC function is PostgresSQL compatible
|
||||
_time_grain_functions = {
|
||||
_time_grain_expressions = {
|
||||
None: "{col}",
|
||||
"PT1S": "DATE_TRUNC('second', {col})",
|
||||
"PT1M": "DATE_TRUNC('minute', {col})",
|
||||
|
||||
Reference in New Issue
Block a user