xyy94813 opened a new issue #19025: URL: https://github.com/apache/superset/issues/19025
Got error when use `deck.gl Scatterplot` with type `Delimited`. #### How to reproduce the bug 1. create a new Chart 2. Choose `deck.gl Scatterplot` 3. Choose `Delimited long & lat single column` 4. The column result is `110.1926929869672,30.737983766034915` 5. See error: `Invalid spatial point encountered`. ### Expected results Correct show Chart. ### Actual results Got Error: ``` Invalid spatial point encountered ``` #### Screenshots If applicable, add screenshots to help explain your problem. ### Environment (please complete the following information): - browser type and version: Google Chrome 98.0.4758.109 - superset version: Unknown - python version: Unknown - node.js version: Unknown - any feature flags active: No ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [ ] I have reproduced the issue with at least the latest released version of superset. - [ ] I have checked the issue tracker for the same issue and I haven't found one similar. ### Additional context When Choose `delimited`, should reverse `coordinates` before `parse_coordinates`. Otherwise an illegal `lat` or `lng` will cause an exception https://github.com/apache/superset/blob/299b5dc64448d04abe6b35ee85fbd2b938c781bc/superset/viz.py#L2510-L2519 https://github.com/apache/superset/blob/299b5dc64448d04abe6b35ee85fbd2b938c781bc/superset/viz.py#L2542-L2545 -- 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]
