You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Antonenko Alexander (JIRA)" <ji...@apache.org> on 2014/03/19 17:07:47 UTC

[jira] [Created] (AMBARI-5141) Selecting operator in Tez DAG vertex should show operator table

Antonenko Alexander created AMBARI-5141:
-------------------------------------------

             Summary: Selecting operator in Tez DAG vertex should show operator table
                 Key: AMBARI-5141
                 URL: https://issues.apache.org/jira/browse/AMBARI-5141
             Project: Ambari
          Issue Type: Task
          Components: client
    Affects Versions: 1.5.1
            Reporter: Antonenko Alexander
            Assignee: Antonenko Alexander
             Fix For: 1.5.1


In a Tez DAG when we select an operator in a vertex, we highlight the operator plan in the bottom-right text area. The highlighted text (in JSON) is hard to read.

We need to completely remove the bottom right text-area, and replace with a table. The table should have 2 columns of keys/values and no header. The keys will be all JSON keys except 'children', and values will be JSON values.

For example when I select a 'TableScan' operator in UI, the text area highlights the following JSON
{code}
"TableScan": {
      "alias:": "school",
      "children": {
        "Select Operator": {
          "expressions:": "state (type: string), id (type: string)",
          "outputColumnNames:": [
            "state",
            "id"
          ],
          "children": {
            "Group By Operator": {
              "mode:": "hash",
              "aggregations:": [
                "count(id)"
              ],
              "keys:": "state (type: string)",
              "outputColumnNames:": [
                "_col0",
                "_col1"
              ],
              "children": {
                "Reduce Output Operator": {
                  "Map-reduce partition columns:": "_col0 (type: string)",
                  "sort order:": "+",
                  "value expressions:": "_col1 (type: bigint)",
                  "Statistics:": "Num rows: 750 Data size: 48865 Basic stats: COMPLETE Column stats: NONE",
                  "key expressions:": "_col0 (type: string)"
                }
              },
              "Statistics:": "Num rows: 750 Data size: 48865 Basic stats: COMPLETE Column stats: NONE"
            }
          },
          "Statistics:": "Num rows: 750 Data size: 48865 Basic stats: COMPLETE Column stats: NONE"
        }
      },
      "Statistics:": "Num rows: 750 Data size: 48865 Basic stats: COMPLETE Column stats: NONE"
    }
{code}
Instead we will show table with the following key/values:
{code}
      "alias:": "school",
      "Statistics:": "Num rows: 750 Data size: 48865 Basic stats: COMPLETE Column stats: NONE"
{code}

This information should also show up in the operator hover.

Operator table should be shown only while hovering.



--
This message was sent by Atlassian JIRA
(v6.2#6252)