Repository navigation
Commit 3077016
Support a load_errors sink in the (relations ...) CSV loading form
Add an optional trailing `(load_errors :name)` clause to the generalized
`(relations ...)` loading form, naming the relation that collects rows which
fail to load:
(relations
(keys (column "id" INT))
(relation :wide
(column "label" STRING)
(column "ratio" FLOAT))
(load_errors :my_load_errors))
The load-errors relation has a loader-determined schema that differs from the
declared keys and per-relation value columns, so it is called out as its own
clause rather than being another target relation.
Backed by a presence-tracked `optional RelationId load_errors` on
`TargetRelations`, so an absent sink is distinct from a default-valued one.
The clause is accepted after both plain targets and CDC insert/delete deltas.
Regenerates the protobuf bindings, parsers, and pretty printers for all three
SDKs, and extends the Julia equality/hashing for `TargetRelations` to cover
the new field.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 011fd8b commit 3077016
24 files changed
Lines changed: 15153 additions & 14717 deletions
File tree
- meta/src/meta
- proto/relationalai/lqp/v1
- sdks
- go/src
- lqp/v1
- julia/LogicalQueryProtocol.jl
- src
- gen/relationalai/lqp/v1
- test
- python
- src/lqp
- gen
- proto/v1
- tests
- tests
- bin
- lqp
- pretty_debug
- pretty
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
1168 | 1169 | | |
1169 | 1170 | | |
1170 | 1171 | | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
1171 | 1175 | | |
1172 | | - | |
1173 | | - | |
| 1176 | + | |
| 1177 | + | |
1174 | 1178 | | |
1175 | 1179 | | |
1176 | 1180 | | |
| 1181 | + | |
1177 | 1182 | | |
1178 | 1183 | | |
1179 | 1184 | | |
| |||
1570 | 1575 | | |
1571 | 1576 | | |
1572 | 1577 | | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
1573 | 1586 | | |
1574 | 1587 | | |
1575 | 1588 | | |
| 1589 | + | |
1576 | 1590 | | |
1577 | 1591 | | |
1578 | | - | |
1579 | | - | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
1580 | 1598 | | |
1581 | 1599 | | |
1582 | 1600 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
326 | 330 | | |
327 | 331 | | |
328 | 332 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments