-
Notifications
You must be signed in to change notification settings - Fork 4.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
Aggregations on multiple fields showing datetimes as results with PostgreSQL? #2283
Comments
@tlrobinson what happens if the pivoting is flipped so that the timestamps end up as the smaller dimension? |
in fact, it almost looks like we are parsing the cell value as a datetime in that scenario, instead of the header values. |
@agilliland Yup, that did it: |
It seems like there are two things we should fix:
|
I fixed # 1 in #2285. Do we also want to do # 2? |
So 1) gets the value displaying properly and 2) formats the column header? if that's the case then i agree that we should do 2) as well. |
Oh wow, I can't believe you guys were seriously this quick with the fix. You two are amazing! 😲 |
@underyx tell your friends ;) |
@agilliland No, I meant # 1 fixes both of things you mentioned, # 2 would also put the date/time column in the first column (my first screenshot), as opposed to across the top (my second screenshot) regardless of the cardinality compared to the other column. Not sure if that's desired or not. |
Ahh, yeah, lets skip that and we can decide a bit later if we think that's really the best thing to do. The fix in the current PR is all we need to close out this issue. |
Let's say I have the following data
I would like to get a line chart with time on the X axis, row count on the Y axis, and one line per region.
In the table view I'd expect this to be represented as one row per day and one column per region, with the cells containing the DB row counts. Here, it works perfectly with the included sample data:
But with PostgreSQL, I'm seeing this instead:
Oh dear! 🙈
The text was updated successfully, but these errors were encountered: