marcioibm opened a new pull request, #38191: URL: https://github.com/apache/superset/pull/38191
### SUMMARY Pivot Table was showing 0NaN columns and rows when using Date/Timestamp data because date formatters expects Date or Number as a param and string was being used instead. This fix just enforces Number casting before calling format. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Before <img width="2048" height="1113" alt="image" src="https://github.com/user-attachments/assets/993f8116-f61d-457e-a1cb-a920badad91c" /> After <img width="1600" height="782" alt="image" src="https://github.com/user-attachments/assets/b1f0fefc-4a08-472c-ad67-464d26f514e7" /> ### TESTING INSTRUCTIONS 1. Load default dev environment 2. Create a Pivot Table chart with a timestamp / date column or row 3. Check for correct date display ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- 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]
