Error with cloudsync_init #74
Replies: 2 comments 4 replies
-
Hi @ingdesarr1, Thanks for reporting this issue — we’re looking into it and want to get it resolved as quickly as possible.
Once we have this information, we’ll be able to investigate further and get back to you with an update. |
Beta Was this translation helpful? Give feedback.
-
Hi @ingdesarr1, The issue seems to be caused by using a SQLite version between 3.38.0 and 3.44.0, which lacks a built-in function previously required by the sqlite-sync extension. Please let us know if this solves the issue. Andrea Donetti |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon. I try to connect my db with sqlite_sync. I upload my db to the SQLite Cloud dashboard, and in my app, when I execute this code:
The following error appears:
Error executing WITH table_names AS (SELECT format('%w', name) as tbl_name FROM sqlite_master WHERE type='table' AND name LIKE '%_cloudsync'), query_parts AS (SELECT 'SELECT max(db_version) as version FROM "' || tbl_name || '"' as part FROM table_names), combined_query AS (SELECT GROUP_CONCAT(part, ' UNION ALL ') || ' UNION SELECT value as version FROM cloudsync_settings WHERE key = ''pre_alter_dbversion''' as full_query FROM query_parts) SELECT CONCAT('SELECT max(version) as version FROM (', full_query, ');') FROM combined_query;
in dbutils_exec (no such function: CONCAT).
Why is this error occurring, and how can I fix it? Thanks
Beta Was this translation helpful? Give feedback.
All reactions