Commit a29733a
authored
chore(query): reapply iceberg bump (#19304)
* chore: bump iceberg-rust to v0.8.0 and re-enable CI tests
- Upgrade iceberg-rust from v0.4.0 to v0.8.0 with breaking API changes
- Add IcebergFileIO wrapper to adapt new FileIO API to OperatorRegistry trait
- Update catalog builders to use new CatalogBuilder trait with load() method
- Re-enable standalone_iceberg_tpch CI tests that were disabled for arm64
- Upgrade hive_metastore from v0.1.0 to v0.2.0
- Simplify generate_catalog_meta to generate_default_catalog_meta
* add agents.md
* fix: address review feedback for IcebergFileIO
- Handle file:// and memory:// URIs that don't have a host/bucket
- Fix gcs.project-id mapping to project_id (was incorrectly default_storage_class)
- Use Error::other() to fix clippy io_other_error lint
* test: add iceberg table write tests
- Basic insert with multiple rows
- Multiple insert statements
- Various data types (int, bigint, float, double, string, date, boolean)
- NULL value handling
- Partitioned table writes
- INSERT SELECT from another iceberg table
- Aggregation queries on inserted data
* fix: return UNKNOWN_TABLE error for non-existent iceberg tables
- Map iceberg 'table not found' errors to ErrorCode::UnknownTable
- This allows DROP TABLE IF EXISTS to work correctly for iceberg tables
- Fix column type annotation in base.test (ITI -> TAT)
- Remove write tests since iceberg tables don't support INSERT yet
* test: add iceberg table write tests (expecting errors)
- Test CREATE TABLE with various types (int, bigint, double, string, date, boolean)
- Test CREATE TABLE with partition by clause
- Test INSERT statements (expected to fail with error 1002 since writes not yet supported)
- Test DROP TABLE cleanup
* feat(iceberg): add write support for iceberg tables
- Implement IcebergDataFileWriter for writing data blocks to parquet files
- Add IcebergCommitSink for committing data via Transaction API
- Support both partitioned and non-partitioned table writes
- Handle multi-field partitioning with FanoutWriter
- Add type conversion from Databend scalars to Iceberg literals
- Include cache invalidation after successful commits
- Update tests to verify write functionality works correctly
* fix: regenerate Cargo.lock to fix duplicate package error
* fix: address lint warnings after Cargo.lock regeneration
- Suppress deprecated as_slice/from_slice warnings in hash.rs and jwk.rs
- Add missing rand::Rng import in sized_spsc.rs tests
- Add allow for diverging_sub_expression in raft_state_machine_impl.rs
* fix(ci): use multi-arch eclipse-temurin image for iceberg driver
The alpine variant doesn't support ARM64 architecture.
* fix(test): update ST_GEOMFROMGEOHASH expected output
The polygon ring starting point changed after dependency upgrade.
The polygon is geometrically equivalent - same shape, different vertex order.
* fix(ci): add uv setup and update test expected output
- Add astral-sh/setup-uv@v7 to iceberg tpch test action
- Update float scientific notation format (e308 -> e+308) in tests
* fix(ci): sync scripts package for pyspark dependency
* update
* update
* update
* update
* fix: stabilize geohash polygon order
* update
* update ast version
* update ast version
* fix1 parent b751cdb commit a29733a
File tree
40 files changed
+1477
-707
lines changed- .github
- actions/test_sqllogic_iceberg_tpch
- workflows
- src
- common/storage/src
- query
- ast
- service/src/sessions
- storages
- iceberg
- src
- information_schema/src
- system/src
- tests/sqllogictests
- scripts/iceberg-driver
- suites
- stage/formats
- avro
- ndjson
- tpch_iceberg
40 files changed
+1477
-707
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | | - | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | | - | |
| 38 | + | |
35 | 39 | | |
36 | | - | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
255 | 254 | | |
256 | 255 | | |
257 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
This file was deleted.
0 commit comments