executing sql queries fail if there is no the_geom
See original GitHub issue@javisantana commented on Fri Oct 07 2016
- open a visualization and go to a layer
- execute “select 1”
you look at network panel and you see sql api response error like this
{"error":["column \"the_geom\" does not exist"]}
Form my POV when there is not the_geom or the_geom_webmercator the map tab should be hidden and show data one
For reference, the old editor in that case updates the map (shows nothing) and the legends and not changed
As side effect of this is:
SELECT 'SRID=3857;POINT(0 0)' as the_geom_webmercator
raises the same error (and in that case the map could be rendered) #SMOKE_MG38
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Exception when you execute a query - SQL Server
When you use SSMS to run a SQL query that returns a large amount of data, you receive an error message that resembles...
Read more >Trouble with PostGIS and multiple selection sources
When I use pgAdmin's console tool to execute the query, after some time it becomes apparent that the entire tool has been disconnected...
Read more >php - Error while executing SQL queries, which work if ...
I get the errors only on a live hosting account(hostinger). It works perfectly fine on my local( ...
Read more >SQL Errors: Five Common SQL Mistakes | LearnSQL.com
As you learn SQL, watch out for these common coding mistakes. You've written some SQL code and you're ready to query your database....
Read more >Querying for data - The Go Programming Language
When executing an SQL statement that returns data, use one of the Query methods provided ... The SQL statement returns true if there's...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fine for me. I’ll start working in the three first points and see how difficult is to work on the last one.
Related https://github.com/CartoDB/Windshaft-cartodb/issues/571 and https://github.com/CartoDB/Windshaft-cartodb/issues/544.
Not sure when, but I’d be great if windshaft-cartodb included some error codes so that we don’t need to:
And also, so that we can provide translations for these error messages.