serdukow opened a new pull request, #40681:
URL: https://github.com/apache/superset/pull/40681
### SUMMARY
When using Table V2 (ag-grid) with Time Comparison enabled and a non-English
locale, the "Value" column shows N/A instead of actual data.
`processComparisonDataRecords` and `processComparisonTotals` used hardcoded
`"Main"` string as column key prefix, while `processComparisonColumns` used
`t('Main')`. In non-English locales this caused a key mismatch between data
and column definitions, resulting in N/A
values in the Time Comparison "Value" column.
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
<img width="396" height="465" alt="Screenshot 2026-06-02 at 11 02 51"
src="https://github.com/user-attachments/assets/dabb52c2-a9ae-41a5-aa29-ef8c2a774ea6"
/>
<img width="401" height="464" alt="Screenshot 2026-06-02 at 11 02 36"
src="https://github.com/user-attachments/assets/ccf4bd6d-64ba-481e-9806-6725f625267a"
/>
### TESTING INSTRUCTIONS
1. Enable `TABLE_V2_TIME_COMPARISON_ENABLED` feature flag
2. Set Superset locale to Russian (or any non-English)
3. Create a Table V2 chart with Time Comparison enabled
4. Verify "Value" column shows actual data instead of N/A
5. Switch to English locale and verify it still works correctly
### ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [x] Required feature flags: `TABLE_V2_TIME_COMPARISON_ENABLED`
- [x] 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]