Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Group by Month Date Encoding Issue with MySQL Database #10868
Describe the bug
For example, I want the count of rows by month from a table. Using the custom question UI to construct a count of rows with by month. The result I get back is a blank chart with an error:
The error reads:
Note that in this case launched_at is a DATETIME type column.
When I run this query directly against the database (in a SQL workbench) I get the expected results back, with a date in the first column and count in the second. However when I run the same query as a ‘native query’ in Metabase against the same database, the dates come back in what looks like some kind of encoding.
This issue only exists when aggregating by month - aggregating by day, for example, works as expected.
Information about your Metabase Installation: