-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: revert "feat(sqla): apply time grain to all temporal groupbys" #17239
Conversation
This reverts commit 9075e42.
Codecov Report
@@ Coverage Diff @@
## master #17239 +/- ##
=======================================
Coverage 77.02% 77.02%
=======================================
Files 1037 1037
Lines 55629 55629
Branches 7594 7594
=======================================
+ Hits 42850 42851 +1
+ Misses 12529 12528 -1
Partials 250 250
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the regression introduced by the original PR. Having said that, it can be difficult to draw the line between what's a breaking change and what's a feature that was never really explicitly intended, and therefore not something that needs to be maintained. The reason for the change in the original PR was to enable something that is probably usually the expected behavior, as in the absence of per-column time grain configurations it is currently not possible to apply a time grain to multiple temporal columns without the change introduced by the original PR. But perhaps this change must wait for a better per-column time grain configuration UX (2.0?).
@villebro I agree with your comment. Additionally a poor UX, i.e., something unintended and sub-optimal, can become the de facto norm based on user behavior and or baked in work arounds. The issue then is future fixes—with good intend—are actually breaking changes given the saved formed data and thus a migration of some form (preferably non-breaking) is likely needed. |
Reverts #16318 per the comments left in the original PR.
Note I think the intent of the original change is good however it's somewhat nuanced and it was not apparent to the user from the UI that the grouping was being mutated. It does seem a preferred solution is either the addition of custom columns or UI components which allows users to opt in to which temporal columns should be transformed by the time grain. Furthermore said change was actually a breaking change but was not protected with a feature flag.