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

   ### Bug description
   
   I’m encountering an issue with the API (/api/v1/chart/data) when fetching 
chart data. The error message states: 'Datetime column not provided as part of 
the table configuration and is required for this chart type.' Although the 
chart renders correctly in the UI, the API call fails. As a workaround, opening 
and saving the chart without making any changes resolves the issue.
   Has a fix been implemented for this?
   Same issue was reported earlier - 
https://apache-superset.slack.com/archives/C015WAZL0KH/p1667844640596479
   Chart details - Temporal X-Axis - day column (timestamp)
   Time Grain - Week
   
   ### How to reproduce the bug
   
   Query context payload difference between initial version rendered and 
changes occurred after saving the chart without changes.
   <img width="783" alt="image" 
src="https://github.com/user-attachments/assets/2fda8f1c-8474-4d81-a4de-20d9d5894b79";>
   <img width="809" alt="image" 
src="https://github.com/user-attachments/assets/93df4884-d79c-489b-bbb9-125a38d4278f";>
   
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.10
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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