guan404ming opened a new pull request, #70299: URL: https://github.com/apache/airflow/pull/70299
## Why - `DocumentLoaderOperator` accepted glob patterns for local paths but rejected them for cloud storage URIs, so loading documents from `s3://bucket/logs/**/*.json` was impossible. - Cloud sources were limited to a single object or one flat directory, forcing users to add an extra task just to list files. ## How - Route cloud URIs containing wildcards through `ObjectStoragePath.glob()`, which supports recursive ** matching across directories. - Reject wildcards in the scheme or bucket segment with a clear error, since those have no fixed root to glob from. - Apply the same filtering rules as local globs, so behaviour matches between local and cloud sources. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 4.8) -- 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]
