-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Dynamic time granularity on any datetime column #181
Conversation
c3d086a
to
0ae13f3
Compare
Hi @mistercrunch, How difficult could be to have the "grain" definition with the datasource definition ?
be moved as a "Advanced configuration" setting on the datasource form data? In this way will be enough with SQLAlchemy driver to add a new datasource and use this functionality. Just to confirm, same functionality can be achieve by using expression fields, right ? ofc this way is better! ;) Any chance to use SQLAlchemy functions ? Thanks |
At the datasource level it would have to be defined for each datasource, which is redundant, though maybe the datasource could eventually offer a whitelist/blacklist configuration. From my understanding I don't think SqlAlchemy functions are reliable or have any guarantees that they work across dialects... |
949bfee
to
c619366
Compare
|
09c97b2
to
27fb810
Compare
|
|
b321efc
to
f1ac311
Compare
f1ac311
to
61ab06d
Compare
|
Dynamic time granularity on any datetime column
This allows to apply a datetime alteration expression, defined per database.
If your datetime column is a timestamp, you can use this to group by day, week, or whatever.