superset
superset copied to clipboard
Can't apply Time Grain on a timestamp field from a Redshift Table
Superset version
0.26.3
Expected results
I expected to change "Time Grain" of a timestamp field from Redshift table to Date or Month
Actual results
I didn't see any option to change in "Time Grain" box
Steps to reproduce
- Import a table from Redshift table in Sources -> Tables menu. This table must have a timestamp field. In my case the name of the field is created_at.
- Try to create a timeseries chart from the table
- created_at field is properly recognized but I can't change the "time grain".
Here is the image showing the issue: https://i.stack.imgur.com/npIBw.png
It was a connection string issue: postgresql+psycopg2 should be used