Skip to content

Conversation

@prabhath004
Copy link
Contributor

Add max_file_size parameter to AzureBlob source for filtering large files.

Files exceeding the size limit are treated as non-existent in both list() and get_value() APIs.

Closes #1251

Add optional max_file_size parameter to filter files by size in both
list() and get_value() APIs. Files exceeding the limit are treated as
non-existent. Closes cocoindex-io#1251
@georgeh0
Copy link
Member

georgeh0 commented Nov 7, 2025

Hi @prabhath004 thanks for the PR. Tests don't pass - seems Rust build failure. Please fix. Thanks!

prabhath004 and others added 2 commits November 7, 2025 09:30
Azure blob content_length is u64, not Option<u64>, so compare directly
with max_size cast to u64 instead of unwrapping Option.
@prabhath004
Copy link
Contributor Author

@georgeh0 Yeah, I have made the changes. There was a small error. I think it should work now!

@georgeh0 georgeh0 merged commit e410a59 into cocoindex-io:main Nov 8, 2025
9 checks passed
@prabhath004 prabhath004 deleted the feature/max-file-size-azureblob-clean branch November 8, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Support max_file_size for AzureBlob source

2 participants