Files
superset2/superset/db_engine_specs/databricks.py
Thomas Desrosiers 4b8fc06e5f fix: Update time grain expressions for Spark >= 3.x (#18690)
* Fix the time grain expressions for Spark >= 2.3.0

Spark removed date format string 'u' in Spark 3.0. Switch to using date_trunc which has been around since 2.3

* Review: Pull out time_grain_expressoins into its own thing

(cherry picked from commit 03b2b06e90)
2022-04-03 14:02:15 +03:00

2.3 KiB