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

Engineer_0
Member
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:
7
Categories
- All Categories
- Product Ideas
- 2K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 661 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 821 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 10 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive