mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
Imported query profiles are currently being stored in IndexedDB. Although IndexedDB does not have storage limitations like other browser storage APIs, there is a storage limit for a single attribute / field. For supporting larger query profiles, 'pako' compression library's v2.1.0 has been added along with its associated license. Before adding query profile JSON to indexedDB, it undergoes compression using this library. As compression and parsing profile is a long running process that can block the main thread, this has been delegated to a worker script running in the background. The worker script returns parsed query attributes and compressed profile text sent to it. The process of compression consumes time; hence, an alert message is displayed on the queries page warning user to refrain from closing or reloading the page. On completion, the raw total size, compressed total size, and total processing time are logged to the browser console. When multiple profiles are chosen, after each query profile insertion, the subsequent one is not triggered until compression and insertion are finished. The inserted query profile field is decompressed before parsing on the query plan, query profile, query statement, and query timeline page. Added tests for the compression library methods utilized by the worker script. Manual testing has been done on Firefox 126.0.1 and Chrome 126.0.6478. Change-Id: I8c4f31beb9cac89051460bf764b6d50c3933bd03 Reviewed-on: http://gerrit.cloudera.org:8080/21463 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
34 lines
1.6 KiB
Plaintext
34 lines
1.6 KiB
Plaintext
# Marking minified JS, CSS, etc, files prevents long lines from showing up in "git grep".
|
|
tests/comparison/leopard/static/css/bootstrap.css binary
|
|
tests/comparison/leopard/static/css/bootstrap.css.map binary
|
|
tests/comparison/leopard/static/css/bootstrap.min.css binary
|
|
tests/comparison/leopard/static/css/bootstrap-theme.min.css binary
|
|
tests/comparison/leopard/static/css/bootstrap-theme.css.map binary
|
|
tests/comparison/leopard/static/js/bootstrap.js binary
|
|
tests/comparison/leopard/static/js/bootstrap.min.js binary
|
|
tests/comparison/leopard/static/js/highlight.pack.js binary
|
|
www/bootstrap/css/bootstrap.css binary
|
|
www/bootstrap/css/bootstrap-4.3.1.min.css binary
|
|
www/bootstrap/css/bootstrap.css.map binary
|
|
www/bootstrap/css/bootstrap.min.css binary
|
|
www/bootstrap/css/bootstrap.min.css.map binary
|
|
www/bootstrap/js/bootstrap.js binary
|
|
www/bootstrap/js/bootstrap.min.js
|
|
www/bootstrap/js/bootstrap.min.js binary
|
|
www/c3/c3.v7.min.js binary
|
|
www/c3/c3.v7.min.css binary
|
|
www/d3.v3.min.js binary
|
|
www/d3.v5.min.js binary
|
|
www/dagre-d3.min.js binary
|
|
www/DataTables-1.10.18/js/dataTables.bootstrap.min.js binary
|
|
www/DataTables-1.10.18/js/dataTables.bootstrap4.min.js biinary
|
|
www/DataTables-1.10.18/js/dataTables.foundation.min.js binary
|
|
www/DataTables-1.10.18/js/dataTables.jqueryui.min.js binary
|
|
www/DataTables-1.10.18/js/dataTables.semanticui.min.js binary
|
|
www/DataTables-1.10.18/js/jquery.dataTables.min.js binary
|
|
www/datatables.min.js binary
|
|
www/datatables-1.13.2.min.js binary
|
|
www/datatables-1.13.2.min.css binary
|
|
www/highlight/highlight.pack.js binary
|
|
www/jquery/jquery-3.5.1.min.js binary
|
|
www/pako.min.js binary |