Replies: 1 comment
-
Superset interprets angle brackets ( Performance degradation after enabling HTML rendering is likely due to extra processing for parsing and sanitizing HTML content in each table cell. Rendering raw HTML can be much more expensive than plain text, especially if the implementation disables table virtualization or uses more complex cell renderers, leading to slower table rendering [source]. If you need to display angle brackets as literal text, it's best to keep HTML rendering off and let Superset treat all values as plain text. If you must enable HTML rendering, consider reviewing your sanitizer logic to ensure it doesn't strip out non-HTML content and optimize your cell rendering to avoid unnecessary overhead. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found two related issues in Superset when working with MySQL data:
1.Field values with angle brackets are missing
(HOFO,6hd, 6.0)
(HOFO,6hd, 6.0)
The text inside < > is missing (not all brackets are dropped, but some).
I have already enabled RENDER COLUMNS IN HTML FORMAT, but the issue still happens.
Expected: Superset should display the text exactly as stored in MySQL, including < >.
2.Performance issue after enabling HTML rendering
Previously, Superset did not have the RENDER COLUMNS IN HTML FORMAT option.
Our DevOps team added this feature by editing .tsx files and rebuilding the image.
After rebuilding, Superset became noticeably slower when rendering tables.
Why would enabling this option and rebuilding cause such performance degradation?
@dosu
Beta Was this translation helpful? Give feedback.
All reactions