alfredho811 opened a new issue, #21508:
URL: https://github.com/apache/superset/issues/21508

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   Using `Superset verion 2.0.0` and `postgres as data warehouse`,
   
   I created a heatmap where the x-axis are the dates and y-axis stock codes.
   
   
   <img width="889" alt="image" 
src="https://user-images.githubusercontent.com/69471240/190916959-ed6b5053-0f19-40de-916e-da62b65b77de.png";>
   
   The SQL is as follows
   
   ```
   SELECT date_trunc('month', release_time_hkt) AS release_month,
          sehk_code AS sehk_code,
          COUNT(*) AS count
   FROM l1_trading.vw_trd_hkex_listed_company_publication
   GROUP BY date_trunc('month', release_time_hkt),
            sehk_code
   ORDER BY count DESC
   LIMIT 10000;
   ```
   
   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:  
https://github.com/apache/superset/issues/3027
   
   but that's for older superset version.
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version:
   - superset version: `superset version` ---> 2.0.0
   - python version: `python --version` (I did not check, because I am simply 
using the official apache superset docker image `apache/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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to