-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Date column in superset displayed as unix timestamp #21508
Comments
You will have to mark column as "is temporal" in dataset settings and specify date format as epoch_s or epoch_ms based on the granularity of the stored values. Let me know if this helps. |
Hey @mdeshmu Thanks for your reply. I guess I did not phrase my problem correcty. As you can see from the above screenshot, the problem is that the column Instead, I want it to be like ============= For the column ========== Given that I am using Postgres as my database and the problematic column is of type The solution here is to format the datetime as string Is that the only solution? Thanks |
Is this same / related to #20074 ? That one should be fixed in upcoming 2.0.1 |
This is fixed in 2.0.1 for me, is this still an issue for you? |
Closing since this appears to be fixed :) |
Indeed in this regards here is an example of a currently working Heatmap we use (superset 2.0.1, last working version) with same data and displaying properly formatted date on X. Visible also on the screenshot some settings currently applied to configure it
Is there currently any plan in your roadmap to migrate Heatmap to EChart ? |
A clear and concise description of what the bug is.
How to reproduce the bug
Using
Superset verion 2.0.0
andpostgres as data warehouse
,I created a heatmap where the x-axis are the dates and y-axis stock codes.
The SQL is as follows
I would expect that the x-axis would show the dates in the standard format (e.g. 2022-08-01), not in unix timestamp.
I found a similar issue reported here: #3027
but that's for older superset version.
Environment
(please complete the following information):
browser type and version:
superset version:
superset version
---> 2.0.0python version:
python --version
(I did not check, because I am simply using the official apache superset docker imageapache/superset:2.0.0
)node.js version:
node -v
any feature flags active:
Checklist
Make sure to follow these steps before submitting your issue - thank you!
I have checked the superset logs for python stacktraces and included it here as text if there are any.
---> I don't see any logs specific to this conversion to unix timestamp
I have reproduced the issue with at least the latest released version of superset.
--> 2.0.0 is the latest superset version
I have checked the issue tracker for the same issue and I haven't found one similar.
---> I cannot find a similar issue with superset version
2.0.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: