[
https://issues.apache.org/jira/browse/IMPALA-15360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Quanlong Huang updated IMPALA-15360:
------------------------------------
Description:
As shown in the attached screenshot, the "Estimated memory" column is not
rendered correctly using human-readable strings, e.g. 10MB.
!Screenshot from 2026-09-16 16-55-25.png|width=663,height=484!
Here is the error reported in the browser console.
{code:javascript}
Uncaught TypeError: value.toFixed is not a function
at getReadableSize (common_util.js:26:16)
at renderSize (common_util.js:83:16)
at datatables.min.js:16:12048
at e.fnGetData (datatables.min.js:16:15343)
at S (datatables.min.js:16:17860)
at St (datatables.min.js:16:20342)
at x (datatables.min.js:16:17588)
at HTMLTableRowElement.<anonymous> (datatables.min.js:16:17692)
at jquery-3.5.1.min.js:2:1540
at S.map (jquery-3.5.1.min.js:2:3509){code}
Thrown from this line:
https://github.com/apache/impala/blob/ac16a39210df9999f8dd1941e3fa513594f9aab2/www/scripts/common_util.js#L26
was:
As shown in the attached screenshot, the "Estimated memory" column is not
rendered correctly using human-readable strings, e.g. 10MB.
!Screenshot from 2026-09-16 16-55-25.png|width=663,height=484!
> Estimated memory for tables not rendered correctly
> --------------------------------------------------
>
> Key: IMPALA-15360
> URL: https://issues.apache.org/jira/browse/IMPALA-15360
> Project: IMPALA
> Issue Type: Bug
> Reporter: Quanlong Huang
> Assignee: Quanlong Huang
> Priority: Major
> Attachments: Screenshot from 2026-09-16 16-55-25.png
>
>
> As shown in the attached screenshot, the "Estimated memory" column is not
> rendered correctly using human-readable strings, e.g. 10MB.
> !Screenshot from 2026-09-16 16-55-25.png|width=663,height=484!
> Here is the error reported in the browser console.
> {code:javascript}
> Uncaught TypeError: value.toFixed is not a function
> at getReadableSize (common_util.js:26:16)
>
>
> at renderSize (common_util.js:83:16)
> at datatables.min.js:16:12048
>
>
> at e.fnGetData (datatables.min.js:16:15343)
> at S (datatables.min.js:16:17860)
>
>
> at St (datatables.min.js:16:20342)
> at x (datatables.min.js:16:17588)
>
>
> at HTMLTableRowElement.<anonymous> (datatables.min.js:16:17692)
> at jquery-3.5.1.min.js:2:1540
>
>
> at S.map (jquery-3.5.1.min.js:2:3509){code}
> Thrown from this line:
> https://github.com/apache/impala/blob/ac16a39210df9999f8dd1941e3fa513594f9aab2/www/scripts/common_util.js#L26
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]