Skip to content

Commit

Permalink
UBERF-9095: Fix wrong size in datalake (#7800)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Sobolev <[email protected]>
  • Loading branch information
haiodo authored Jan 27, 2025
1 parent 5b1efe7 commit e950ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/datalake/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class DatalakeService implements StorageAdapter {
_id: blob.name as Ref<Blob>,
_class: core.class.Blob,
etag: blob.etag,
size: blob.size ?? 0,
size: (typeof blob.size === 'string' ? parseInt(blob.size) : blob.size) ?? 0,
provider: this.opt.name,
space: core.space.Configuration,
modifiedBy: core.account.ConfigUser,
Expand Down

0 comments on commit e950ee4

Please sign in to comment.