HBASE-25402 Sorting order by start key or end key is not considering empty start key/end key (#2955)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
This commit is contained in:
Akshay Sudheer 2021-03-03 09:38:55 +05:30 committed by GitHub
parent a97a40c747
commit 157200ef83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -288,7 +288,12 @@ $(document).ready(function()
type: "numeric" type: "numeric"
}); });
$("#baseStatsTable").tablesorter(); $("#baseStatsTable").tablesorter({
headers: {
1: {empty: 'emptyMin'},
2: {empty: 'emptyMax'}
}
});
$("#requestStatsTable").tablesorter({ $("#requestStatsTable").tablesorter({
headers: { headers: {
1: {sorter: 'separator'}, 1: {sorter: 'separator'},

View File

@ -1240,7 +1240,9 @@ $(document).ready(function()
3: {sorter: 'separator'}, 3: {sorter: 'separator'},
4: {sorter: 'filesize'}, 4: {sorter: 'filesize'},
5: {sorter: 'separator'}, 5: {sorter: 'separator'},
6: {sorter: 'filesize'} 6: {sorter: 'filesize'},
7: {empty: 'emptyMin'},
8: {empty: 'emptyMax'}
} }
}); });
$("#metaTableBaseStatsTable").tablesorter({ $("#metaTableBaseStatsTable").tablesorter({
@ -1249,7 +1251,9 @@ $(document).ready(function()
3: {sorter: 'separator'}, 3: {sorter: 'separator'},
4: {sorter: 'filesize'}, 4: {sorter: 'filesize'},
5: {sorter: 'separator'}, 5: {sorter: 'separator'},
6: {sorter: 'filesize'} 6: {sorter: 'filesize'},
7: {empty: 'emptyMin'},
8: {empty: 'emptyMax'}
} }
}); });
$("#tableLocalityStatsTable").tablesorter({ $("#tableLocalityStatsTable").tablesorter({