question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

executing sql queries fail if there is no the_geom

See original GitHub issue

@javisantana commented on Fri Oct 07 2016

  1. open a visualization and go to a layer
  2. 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:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
javierarcecommented, Nov 2, 2016

Fine for me. I’ll start working in the three first points and see how difficult is to work on the last one.

0reactions
alonsogarciapablocommented, Nov 2, 2016

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:

Parse message error and create a better one (as we did with some analyses errors).

And also, so that we can provide translations for these error messages.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found