Closed jimidle closed 2 months ago
401 tests ±0 135 :white_check_mark: +26 4s :stopwatch: ±0s 2 suites ±0 0 :zzz: ± 0 2 files ±0 266 :x: - 26
For more details on these failures, see this check.
Results for commit 1cc34125. ± Comparison against base commit 94a3690f.
:recycle: This comment has been updated with latest results.
Here, we implement the function call mapper (Rule) that allows us to make complex transformations from TSQL specific functions into Databricks compatible constructs. Transformations are sometimes argument reordering, and sometimes replacement with a different expression.
In this PR we use the transformation of TSQL
DATEADD
to Databricks SQLDATE_ADD
,ADD_MONTHS
andxxx + INTERVAL n {days|months|etc}
For example the TSQL:
Translates to: