electric-sql / electric-sql/electric
1st argument: not an iodata term
- Dominant language
- TypeScript
- Stars
- 10.4k
- Forks
- 375
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 18
Description
**Versions**
- Client: platform, version (e.g. typescript, 1.0.0; or just "plain HTTP")
- Electric: 1.3.0
**Bug description**
```
07:41:52.824 pid=<0.3340.0> [info] Configuring publication pub_default to drop ["schema_a.tbl_primary"] tables, add [] tables, and configure replica identity for [] tables - skipping altered tables []
07:42:08.687 pid=<0.3359.0> [info] Creating new shape for Shape.new!({, "schema_a.tbl_primary"}, where: "", columns: [...], deps: [
{"", Shape.new!({, "schema_a.tbl_dep_1"}, where: "user_id = ''", columns: ["fk_id"])},
{"", Shape.new!({, "schema_a.tbl_dep_2"}, where: "fk_id IN (SELECT fk_id FROM schema_a.tbl_dep_1 WHERE user_id = '')", columns: ["other_fk"], deps: [
Shape.new!({, "schema_a.tbl_dep_1"}, where: "user_id = ''", columns: ["fk_id"])
])}
]) with handle
07:42:08.698 pid=<0.3340.0> [info] Configuring publication pub_default to drop [] tables, add ["schema_a.tbl_primary"] tables, and configure replica identity for [] tables - skipping altered tables []
07:42:08.731 pid=<0.3752.0> request_id= [warning] Failed to create snapshot for : errors were found at the given arguments:
* 1st argument: not an iodata term
07:42:08.731 pid=<0.3753.0> shape_handle= [info] Removing shape ""
07:42:08.732 pid=<0.3752.0> request_id= [error] Electric.DBConnection unknown error: %ArgumentError{message: "errors were found at the given arguments:\n\n * 1st argument: not an iodata term\n"}
07:42:08.734 pid=<0.3752.0> request_id= [error] Unknown error while creating snapshot: %ArgumentError{message: "errors were found at the given arguments:\n\n * 1st argument: not an iodata term\n"}
07:42:08.736 pid=<0.3340.0> [info] Configuring publication pub_default to drop ["schema_a.tbl_primary"] tables, add [] tables, and configure replica identity for [] tables - skipping altered tables []
```
**Expected behavior**
A clear and concise description of what you expected to happen.
Contributor guide
Assessment
This issue has not been assessed yet.