dosubot[bot] commented on issue #35929: URL: https://github.com/apache/superset/issues/35929#issuecomment-3473834080
<!-- Answer --> This is a known issue in Superset 6.0.0rc2: when using a CASE statement for the color dimension in deck.gl Scatterplot, no points appear if the color scheme is set to "fixed color" or if the CASE output isn't a simple string. This is due to recent changes in how categorical colors are handled—if the CASE result is null, a complex object, or not a string, those points are silently dropped from the visualization, resulting in an empty map. To work around this, make sure your CASE statement only returns simple string values (no NULLs or objects), and in the chart controls, manually set the color scheme type to "categorical" instead of "fixed color". This should restore expected color mapping and make your points visible again. If possible, consider creating a calculated column in your dataset with the CASE logic and use that column for coloring, which avoids serialization issues with ad-hoc SQL expressions. More details on this behavior and recent fixes can be found [here](https://github.com/apache/superset/issues/35499) and [here](https://github.com/apache/superset/pull/35537). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/ffb791b9-74a6-4f1d-aecf-e279430fa92c?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/ffb791b9-74a6-4f1d-aecf-e279430fa92c?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/ffb791b9-74a6-4f1d-aecf-e279430fa92c?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/ffb791b9-74a6-4f1d-aecf-e279430fa92c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/ffb791b9-74a6-4f1d-aecf-e279430fa92c?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/ffb791b9-74a6-4f1d-aecf-e279430fa92c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/ffb791b9-74a6-4f1d-aecf-e279430fa92c?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35929) -- 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]
