You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Charts, Samples and Drill to detail fail when an epoch column is DECIMAL or NUMERIC #46666
A temporal dataset column with a "Datetime format" of epoch_s, epoch_ms or epoch_us breaks queries when its database type is DECIMAL or NUMERIC.
The driver returns those values as Decimal objects (psycopg2 does for Postgres NUMERIC), and pandas keeps them in an object column. _process_datetime_column
in superset/utils/core.py applies the epoch unit only to numeric dtypes and
sends anything else to pd.Timestamp, which raises:
{"errors": [{"message": "Cannot convert input [1700000000] of type <class 'decimal.Decimal'> to Timestamp", "error_type": "GENERIC_BACKEND_ERROR", ...}]}
POST /api/v1/chart/data then returns 500 for:
a table chart that shows the column, raw or grouped by it
native filter values on the column
Samples and Drill to detail on the dataset, whatever you drill into, since
they select every column
Activity
SEPURI-SAI-KRISHNA commentedon Nov 28, 2026
PR: #46667