date type field display error
date type column in table display timestamp in superset ,in database the value is '2017-08-08' but in superset display look like '1500324543543',how convert is correct
We have the same issue with MySQL and column type DATE.
@mistercrunch which build can't you reproduce this bug on? Here is our setup:
Table designer setup for our date field:

What the date looks like:

How our TableView slice is configured:

What our TableView slice looks like:

Looks like it's a known bug for 0.18.5: https://stackoverflow.com/questions/45248010/date-formatting-in-superset-with-mysql/45570314#45570314
Seeing the same behavior in 0.19.0
Same problem in the latest master :(
Hi, I've compared the differences between 0.19.1 and 0.15.2, and found that: class TableViz => def json_dumps()
In 0.15.2, it was: return json.dumps(obj, default=utils.json_iso_dttm_ser)
Current Result: 1504860088000 | 1504860138000 | 1504860159000 | 0 | 1504828800000 | 2017-09-08 08:00:00 | 1003
After: def json_dump(): return json.dumps(obj, default=utils.json_iso_dttm_ser)
2017-09-07T17:59:33 | 2017-09-07T18:19:47 | 2017-09-07T18:20:08 | 0 | 2017-09-07 | 2017-09-07T08:00:00+08:00 | 1003
Any progress in fixing this bug?
The workaround for me was to create a column that casts the date/timestamp to a string. Not great, but works.
I've got the same issue exactly on mysql and superset 0.19.1
Getting the same error for 0.20.6
Database - Clickhouse, column type: Date
Date comes properly when in Pivot Table view. Is messed up with Table View and in Time Dashboard Filter, when using the date column in Filter Column.
I am seeing this error as well. It looks like on output, if the field looks "datish" it converts it. I created a DB level view that added a d: in front of my YYYY-MM-DD and it stop showing this as a date then (nothing else changed). The infered type shows VARCHAR, etc.
Actually this is the exact problem i am facing.How am i suppose to get out of it?
Getting the same error for 0.20.6 Database - Clickhouse, column type: Date Date comes properly when in Pivot Table view. Is messed up with Table View and in Time Dashboard Filter, when using the date column in Filter Column.
Any solution to this?
Anybodystill facing this challenge,i solved it by DATE_FORMAT(pay.created_at, '%Y-%m-%d %H:%m:%s' ) 'DateCreated',` in my date column.Basically you change the format of your column during querying the database, that is if you are using mysql like for my case
i have same issue for pie chart. any solution to this??
Honestly I'm not that good in coding I'm just a beginner
On Mon, Feb 22, 2021, 11:25 PM Riska Tri Handayani [email protected] wrote:
i have same issue for pie chart. any solution to this??
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apache/superset/issues/3271#issuecomment-783942233, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASDBY6UA7DR7XJRVVJ62TQTTANC6TANCNFSM4DWMS6NQ .