Unable to run CDB_CartodbfyTable
See original GitHub issueContext
Unable to run cdb_cartodbfytable.
version: commit 727ec0c13b3d14a35cb7103d925988dda2d5d06b (HEAD, tag: v4.32.0)
Steps to Reproduce
❯ curl -X GET -k "https://localhost.lan/user/rasul/api/v2/sql?api_key=${api_key}&q=CREATE+TABLE+rasul.upload_example2+(the_geom+geometry,name+text,age+integer)"
❯ curl -X GET -k "https://localhost.lan/user/rasul/api/v2/sql?api_key=${api_key}&q=SELECT+CDB_CartodbfyTable('rasul','upload_example2')" | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 372 0 372 0 0 279 0 --:--:-- 0:00:01 --:--:-- 279
{
"rows": [
{
"cdb_cartodbfytable": "upload_example2"
}
],
"time": 0.169,
"fields": {
"cdb_cartodbfytable": {
"type": "regclass",
"pgtype": "regclass"
}
},
"total_rows": 1,
"warnings": [
"Error calling Invalidation Service to link Ghost Tables: Error 111 connecting to 127.0.0.1:3142. Connection refused."
],
"notices": [
"_CDB_LinkGhostTables() called with username=rasul, event_name=DROP TRIGGER"
]
}
Current Result
"Error calling Invalidation Service to link Ghost Tables: Error 111 connecting to 127.0.0.1:3142. Connection refused." and table isn't showing up on dashboard.
Expected result
Table should be registered and show up in dashboard
Browser and version
commit 727ec0c13b3d14a35cb7103d925988dda2d5d06b (HEAD, tag: v4.32.0)
Additional info
Needed to use the copyfrom
API
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
No results found
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
Trick is to add the feature flag to the database first. Give this a try.
– CoFounder https://getgeodb.com
Most of the users don’t need this feature because they create their maps directly from the dashboard, and enabling it by default could affect the performance.
Anyway, I’m glad it’s working for you now.