-
Notifications
You must be signed in to change notification settings - Fork 0
Add FieldType.LONG and use it for the size field in BLOB_STORAGE #56
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Context
In PR #47 (BLOB_STORAGE backend), the size field is defined as FieldType.INTEGER. However, file sizes can exceed the 32-bit integer range (2^31 - 1 ≈ 2.1 GB), so a LONG (64-bit integer) type would be more appropriate.
Proposed Changes
- Add
LONGto theFieldTypeenum in the protocol types. - Update the
sizefield definition insrc/backends/blob_storage/__init__.pyto useFieldType.LONG. - Ensure all backend implementations handle the LONG type correctly (e.g., RDBMS mapping to
BIGINT).
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request