You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ju...@apache.org on 2025/05/19 19:05:43 UTC
(superset) branch 4.1-airbnb updated: fix: bigint value in filter
This is an automated email from the ASF dual-hosted git repository.
justinpark pushed a commit to branch 4.1-airbnb
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/4.1-airbnb by this push:
new 5ebba1589a fix: bigint value in filter
5ebba1589a is described below
commit 5ebba1589a3d4f59746df89f6d2ed7ccb6fd9542
Author: justinpark <ju...@gmail.com>
AuthorDate: Mon May 19 12:05:23 2025 -0700
fix: bigint value in filter
---
.../packages/superset-ui-core/src/connection/callApi/parseResponse.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/packages/superset-ui-core/src/connection/callApi/parseResponse.ts b/superset-frontend/packages/superset-ui-core/src/connection/callApi/parseResponse.ts
index 4ee81b80b3..295b8c860c 100644
--- a/superset-frontend/packages/superset-ui-core/src/connection/callApi/parseResponse.ts
+++ b/superset-frontend/packages/superset-ui-core/src/connection/callApi/parseResponse.ts
@@ -63,7 +63,7 @@ export default async function parseResponse<T extends ParseMethod = 'json'>(
(value?.isGreaterThan?.(Number.MAX_SAFE_INTEGER) ||
value?.isLessThan?.(Number.MIN_SAFE_INTEGER))
) {
- return BigInt(value);
+ return value.toString();
}
// // `json-bigint` could not handle floats well, see sidorares/json-bigint#62
// // TODO: clean up after json-bigint>1.0.1 is released