From e950ee48a3c3d40ec7c9f373ff5d3ef7a935367f Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Mon, 27 Jan 2025 14:11:22 +0700 Subject: [PATCH] UBERF-9095: Fix wrong size in datalake (#7800) Signed-off-by: Andrey Sobolev --- server/datalake/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/datalake/src/index.ts b/server/datalake/src/index.ts index 38b1a7df0ca..91e99bb2d8c 100644 --- a/server/datalake/src/index.ts +++ b/server/datalake/src/index.ts @@ -107,7 +107,7 @@ export class DatalakeService implements StorageAdapter { _id: blob.name as Ref, _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,