apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform

Home Page:https://superset.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[GENERIC_CHART_AXES] When timestamp values with dataset labels, timestamp format is not working #bug

cloainbuffer opened this issue · comments

A clear and concise description of what the bug is.

How to reproduce the bug

  1. Make Dataset and add label on timestamp column
  2. Set X-AXIS to labeled timestamp column

Expected results

X-AXIS show formatted data by D3 format rule

Actual results

When dataset columns add label, generic chart x axis cannot adjust timestamp format

Screenshots

superset_bug_report

Environment

"GLOBAL_ASYNC_QUERIES": False,
"ENABLE_TEMPLATE_PROCESSING": True,
"ENABLE_TEMPLATE_REMOVE_FILTERS": True,
"DASHBOARD_NATIVE_FILTERS": True,
"DASHBOARD_NATIVE_FILTERS_SET": True,
"ENABLE_EXPLORE_DRAG_AND_DROP": True,
"ENABLE_DND_WITH_CLICK_UX": True,
"OMNIBAR": True,
"GENERIC_CHART_AXES": True,
"DASHBOARD_CACHE": True,

Checklist

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Here is output query
SELECT DATE_TRUNC('day', date) AS date, sum(sales_dollar_amount) AS "SUM(sales_dollar_amount)" FROM schm."ek_store_sales_BASE_S" GROUP BY DATE_TRUNC('day', date) ORDER BY "SUM(sales_dollar_amount)" DESC LIMIT 10000;

It seems like generic chart cannot read label on dataset