Closed TomBurdge closed 1 week ago
I came across a similar problem recently but it seemed to be caused by my choice of dataset. Curious if you have had any new experience with this one?
Closing this because: 1) It's gone stale 2) The last clarifying question wasn't responded to 3) We support Superset 3.1 / 4.x at the moment.
Happy to re-open this if we can gain any updated context :)
When embedding a table as an interval annotation layer in a line chart, there is an error.
This is in 3.0.0 - we updated to this (somewhat unexpectedly, by restarting and using the latest image) yesterday. This release appears to have introduced the bug.
How to reproduce the bug
Create a dataset, with a BigQuery db connection, as: SELECT "Latest periods" AS latest_periods, LAST_DAY(CURRENT_DATE(), MONTH) AS end_of_current_month, LAST_DAY(DATE_ADD(CURRENT_DATE(),INTERVAL -1 MONTH), MONTH) AS end_of_previous_month;
Try to embed this chart in a line chart.
Expected results
As with previous superset versions, I would expect an annotation layer to embed (either as an interval or event - both cause an error).
Actual results
Receives an error as in the image.
"ERROR: Error: Datetime column not provided as part table configuration and is required by this type of chart"
Screenshots
Image attached. This does not seem to be limited to my specific table.![image](https://github.com/apache/superset/assets/114760229/a35716f6-4b09-402e-8a2f-087e22617294)
Environment
Experimental feature introducing a client (browser) cache
"CLIENT_CACHE": True } (just noticed this is deprecated in the latest release notes.)
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.