-
Notifications
You must be signed in to change notification settings - Fork 272
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/superset/superset-ui/6yzv0sf7l |
Codecov Report
@@ Coverage Diff @@
## master #493 +/- ##
==========================================
- Coverage 22.72% 22.70% -0.03%
==========================================
Files 276 276
Lines 6670 6668 -2
Branches 644 644
==========================================
- Hits 1516 1514 -2
Misses 5115 5115
Partials 39 39
Continue to review full report at Codecov.
|
Thanks I checked presto and it looks like the logic for presto is |
That was fixed in #486 .
I also checked Druid, MySQL, PostgreSQL, SQL Lite and some other databases, with the exception of MySQL and Drill, all others are using Monday-based weekdays. Given how most businesses operate and that Monday-based is also the ISO standard, I propose we move forward with this change and change MySQL & Drill to be Monday-based, too. |
It is confusing and not really useful in most business settings.
5128606
to
e21b843
Compare
Another option is to simply remove the week numbers, as: 1) it is not useful for most business settings anyway; 2) different businesses may have different definition of week-of-years. |
I agree with removing |
* feat: bump superset-ui/time-format and big-number This is for adding full dates to big number datetime formatted by weekly interval. * Bump time-format to v0.13.15 to bring in apache-superset/superset-ui#493
Thanks for resolving this! This seems like a good solution. |
* feat: bump superset-ui/time-format and big-number This is for adding full dates to big number datetime formatted by weekly interval. * Bump time-format to v0.13.15 to bring in apache-superset/superset-ui#493
🐛 Bug Fix
Most databases, including ISO standards, actually uses Monday as the first day of a week. The default week time grain in Superset (
P1W
) should translate to Monday-based weeks, too.