Commit ac6c4e5
authored
feat: Add support for Spicepod version v2 (spiceai#9583)
* feat: Add support for Spicepod version v2
- Updated spicepod.schema.json to include "v2" in the version enum.
- Changed default version in SpicepodDefinition to v2.
- Updated init command to create spicepod.yaml with version v2.
- Added comprehensive tests for v1 and v2 versions, ensuring backward compatibility.
- Created new test fixtures for v2 spicepods and updated existing v1 fixtures.
- Implemented migration logic for deprecated fields from v1 to v2.
- Enhanced caching configuration for v2, including new fields and defaults.
- Updated documentation and comments to reflect changes in versioning and features.
* feat: Remove support for v1beta1 and update examples to v2
* fix: ensure newline at end of iceberg-duckdb[file].yaml
* Apply suggestion from @lukekim
* feat: Add support for Spicepod version v2
- Updated spicepod.schema.json to include "v2" in the version enum.
- Changed default version in SpicepodDefinition to v2.
- Updated init command to create spicepod.yaml with version v2.
- Added comprehensive tests for v1 and v2 versions, ensuring backward compatibility.
- Created new test fixtures for v2 spicepods and updated existing v1 fixtures.
- Implemented migration logic for deprecated fields from v1 to v2.
- Enhanced caching configuration for v2, including new fields and defaults.
- Updated documentation and comments to reflect changes in versioning and features.
* feat: Remove support for v1beta1 and update examples to v2
* fix: ensure newline at end of iceberg-duckdb[file].yaml
* Apply suggestion from @lukekim
* fix: Update JSON schema for v2 features and fix remaining v1beta1 reference
- Add read_write_create to AccessMode enum in schema
- Add partition_management to Scheduler and PartitionManagement in schema
- Update test/adbc/python/spicepod.yaml from v1beta1 to v2
* style: Refactor code for consistency and readability in version tests1 parent 10bb718 commit ac6c4e5
22 files changed
Lines changed: 1178 additions & 24 deletions
File tree
- .schema
- bin/spice/src/commands
- crates/spicepod
- src
- tests
- docs/examples
- examples/git-connector
- test
- adbc/python
- model_grading/test_recursion
- spicepods
- http
- models
- streaming
- tpch/sf1
- accelerated
- federated
- tools/evalconverter/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | | - | |
| 471 | + | |
| 472 | + | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| |||
1216 | 1216 | | |
1217 | 1217 | | |
1218 | 1218 | | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
1219 | 1230 | | |
1220 | 1231 | | |
1221 | 1232 | | |
1222 | 1233 | | |
1223 | 1234 | | |
1224 | 1235 | | |
1225 | 1236 | | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
1226 | 1263 | | |
1227 | 1264 | | |
1228 | 1265 | | |
| |||
1488 | 1525 | | |
1489 | 1526 | | |
1490 | 1527 | | |
1491 | | - | |
| 1528 | + | |
| 1529 | + | |
1492 | 1530 | | |
1493 | 1531 | | |
1494 | 1532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments