You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Kunal Khatua (JIRA)" <ji...@apache.org> on 2017/10/11 22:58:01 UTC

[jira] [Created] (DRILL-5863) Sortable table incorrectly sorts minor fragments and time elements lexically instead of sorting by implicit value

Kunal Khatua created DRILL-5863:
-----------------------------------

             Summary: Sortable table incorrectly sorts minor fragments and time elements lexically instead of sorting by implicit value
                 Key: DRILL-5863
                 URL: https://issues.apache.org/jira/browse/DRILL-5863
             Project: Apache Drill
          Issue Type: Bug
          Components: Web Server
    Affects Versions: 1.12.0
            Reporter: Kunal Khatua
            Assignee: Kunal Khatua
            Priority: Minor
             Fix For: 1.12.0


The fix for this is to use dataTable library's {{data-order}} attribute for the data elements that need to sort by an implicit value.

||Old order of Minor Fragment||New order of Minor Fragment||
|...|...|
|01-09-01  | 01-09-01|
|01-10-01  | 01-10-01|
|01-100-01 | 01-11-01|
|01-101-01 | 01-12-01|
|... | ... |

||Old order of Duration||New order of Duration|||
|...|...|
|1m15s  | 55.03s|
|55s  | 1m15s|
|...|...|




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)