john-jac opened a new pull request, #66121: URL: https://github.com/apache/airflow/pull/66121
## What Add `S3VectorsCreateIndexOperator` to create indexes in Amazon S3 Vectors vector buckets. ## Why Indexes are the core resource for storing and querying vectors within a vector bucket. The hierarchy is: vector bucket → index → vectors. `S3VectorsCreateVectorBucketOperator` (#65968) already exists, but there was no operator to create indexes within a bucket. ## What was done - **Operator**: `S3VectorsCreateIndexOperator` with `if_exists` idempotency, `prune_dict`, support for `data_type`, `dimension`, `distance_metric`, and `metadata_configuration`. Added to existing `s3_vectors.py`. - **Unit tests**: Added to existing `test_s3_vectors.py` — happy path, metadata config, skip-existing, fail-on-conflict, template fields - **System test**: Updated `example_s3_vectors.py` — creates index after bucket, with `@task` teardown for delete (future `S3VectorsDeleteIndexOperator`) - **Docs**: Updated `s3_vectors.rst` with new section, fixed heading hierarchy (dashes for sections, Reference last) No `provider.yaml` or `get_provider_info.py` changes needed — S3 Vectors integration already registered. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
