Fix Beast Mode version of YEARWEEK() to match Magic ETL (MySQL)

Engineer_0
Engineer_0 Member
edited January 21 in Beast Mode Ideas

In MagicETL, YEARWEEK() is a MySQL function. I understand that the function has been re-created for use in Beast Mode.

I believe most users would expect the two functions with the same name on the same platform to give the same results. Unfortunately, the results are different.

Issues I've encountered:

  • For 2024, the week count is different
  • When we try to identify all dates for a week (Sunday-Saturday) that span years, the result is inconsistent, and some dates are excluded from the respective week in Beast Mode. See screenshot:

Tagged:
5
5 votes