You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "msyavuz (via GitHub)" <gi...@apache.org> on 2025/07/30 09:57:52 UTC

[I] MapBox chart doesn't let you properly use a numerical column for the Point Radius field [superset]

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

   ### Bug description
   
   If you try to select a numerical column for the Point Radius field other than the default Auto value, the chart doesn’t display anything.
   How to reproduce the bug
   1. Create a MapBox with the sample GeoData dataset
   2. Drag and drop the LON and LAT columns to the respective fields
   3. Go to the Point Radius field and select the radius_miles column
   4. Select miles in the Point Radius Unit field
   5. Click on Update Chart
   
   ### Expected results
   
   You see your chart shows the points according to the numerical values of the radius_miles column
   
   ### Actual results
   
   The chart doesn’t display any value, just an empty map.
   
   ### Screenshots/recordings
   
   <img width="1726" height="1017" alt="Image" src="https://github.com/user-attachments/assets/b4a42ece-60af-4f78-b00f-e9b463b78e20" />
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.11
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Firefox
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [x] 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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] MapBox chart doesn't let you properly use a numerical column for the Point Radius field [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #34398:
URL: https://github.com/apache/superset/issues/34398#issuecomment-3135651331

   <!-- Answer -->
   This is a confirmed bug in the current Superset master: when you select a numerical column for the MapBox chart's Point Radius field, the frontend passes the column name as a string instead of a number, which breaks the rendering logic and results in an empty map. The backend does include the correct per-point radius in the geoJSON, but the frontend expects a numeric fallback and mishandles the string value, causing the issue. No recent pull requests have addressed this bug as of July 2025, and it's not documented as a known limitation or fixed in recent updates [[source]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/legacy-plugin-chart-map-box/src/transformProps.js).
   
   As a workaround, make sure your radius column contains only valid numeric values and, if your data source uses NUMERIC/DECIMAL types, try casting the column to BIGINT in your SQL query to avoid type conversion issues that can cause rendering problems in Superset charts [[source]](https://github.com/apache/superset/issues/33174). If the problem persists, it will likely require a code fix to ensure the frontend always passes a valid numeric fallback for pointRadius.
   
   
   <!-- 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/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e0748e99-e10d-4664-952a-15a1b5f2d7b4?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34398)


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] MapBox chart doesn't let you properly use a numerical column for the Point Radius field [superset]

Posted by "LC-86 (via GitHub)" <gi...@apache.org>.
LC-86 commented on issue #34398:
URL: https://github.com/apache/superset/issues/34398#issuecomment-4429560562

   Hi! I would like to work on this through the Preset bounty program if the bounty is active. I have reviewed the bug report and can investigate the Point Radius numeric handling on the frontend. If this is available, I am happy to open a PR.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] MapBox chart doesn't let you properly use a numerical column for the Point Radius field [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #34398: MapBox chart doesn't let you properly use a numerical column for the Point Radius field
URL: https://github.com/apache/superset/issues/34398


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] MapBox chart doesn't let you properly use a numerical column for the Point Radius field [superset]

Posted by "enlohhy (via GitHub)" <gi...@apache.org>.
enlohhy commented on issue #34398:
URL: https://github.com/apache/superset/issues/34398#issuecomment-4428876613

   Hi! I’d like to help get PR #33247 across the finish line for this bounty issue. I’ve reviewed the issue/PR history and current checks; if it still makes sense, I’m happy to take over the remaining work and update it against current master as needed.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] MapBox chart doesn't let you properly use a numerical column for the Point Radius field [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on issue #34398:
URL: https://github.com/apache/superset/issues/34398#issuecomment-3137170154

   Looks like @rusackas started a PR on this here: https://github.com/apache/superset/pull/33247. Feel free to take it over and get it across the finish line if it's blocking you.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] MapBox chart doesn't let you properly use a numerical column for the Point Radius field [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #34398:
URL: https://github.com/apache/superset/issues/34398#issuecomment-4035392728

   PR #33247 was started by @rusackas to address this. If you'd like to help get this fix across the finish line, please take over that PR.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org