You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line right here checks for validity of a PSQL Index Storage Parameter during inspection. I'm no PSQL expert, but it seems like this storage parameter is just a generic string and only has meaning in the context of what ever index type is using it? Is there any way to treat these as opaque blobs in Atlas, or MUST they be parsed?
We use ZomboDB which has very bespoke syntax for defining cross-indexes via the Index Storage Parameters, and Atlas chokes with the error invalid index storage parameter: options=customers:(customer_id=<public.customers.idx_zdb_customers>id)
Replicating this would require you setup both ZomboDB and an Elastic instance, so it's not super straightforward. But the below SQL would cause the issue:
-- Simple parent tablescreatetableparent (id serialprimary key);
-- Single child table for a 1:m relationshipcreatetablechild (
id serialprimary key,
parent_id integerconstraint fk_parent_id references parent
);
-- Index for both parent and child tables individuallycreateindexidx_zdb_parenton parent using zombodb ((parent.*)) with (url='http:dokku.elasticsearch.stage:9200/');
createindexidx_zdb_childon child using zombodb ((child.*)) with (url='http:dokku.elasticsearch.stage:9200/');
-- The problematic cross-join index, it doesn't like the two `=` occurrences.alterindex idx_zdb_parent set (options='children:(parent_id=<public.parent.idx_zdb_parent>id)');
Hi @a8m what can I do to help on this issue? My GoLang isn't strong enough to start really ripping into this. We would still really love to start using Atlas though 🤞
This line right here checks for validity of a PSQL Index Storage Parameter during inspection. I'm no PSQL expert, but it seems like this storage parameter is just a generic string and only has meaning in the context of what ever index type is using it? Is there any way to treat these as opaque blobs in Atlas, or MUST they be parsed?
We use ZomboDB which has very bespoke syntax for defining cross-indexes via the Index Storage Parameters, and Atlas chokes with the error
invalid index storage parameter: options=customers:(customer_id=<public.customers.idx_zdb_customers>id)
Replicating this would require you setup both ZomboDB and an Elastic instance, so it's not super straightforward. But the below SQL would cause the issue:
The text was updated successfully, but these errors were encountered: