Commit 576dd12
committed
[adapters] Use table-level skip_unused_columns property.
The Delta connector `skip_unused_columns` attribute introduces unhealthy
coupling between connector and table definitions, where the table definition
can implicitly change when a connector is added, removed, or modified.
We make skip_unused_columns a table-level property instead. It advises
connectors that they don't have to ingest unused columns if they support this
optimization.
We partially keep backward compatibility by computing `skip_unused_columns` as
a logical OR of per-connector and per-table attributes:
* Existing tables that don't have Delta connectors with `skip_unused_columns`
set to true are not affected.
* Existing tables that have Delta connectors with `skip_unudes_columns` will
behave as if the table definition has changed when the program is recompiled
with the new runtime version. These tables will be backfilled from scratch.
Signed-off-by: Leonid Ryzhyk <ryzhyk@gmail.com>1 parent dfed895 commit 576dd12
5 files changed
Lines changed: 24 additions & 6 deletions
File tree
- crates
- adapters/src/integrated/delta_table
- feldera-types/src
- docs.feldera.com/docs
- connectors/sources
- sql
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
522 | 529 | | |
523 | 530 | | |
524 | 531 | | |
| |||
604 | 611 | | |
605 | 612 | | |
606 | 613 | | |
607 | | - | |
| 614 | + | |
608 | 615 | | |
609 | 616 | | |
610 | 617 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
241 | 245 | | |
242 | 246 | | |
243 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
0 commit comments