tajo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hyoungjunkim (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-734) Arrange TajoCli output message.
Date Sat, 05 Apr 2014 02:28:16 GMT

    [ https://issues.apache.org/jira/browse/TAJO-734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960926#comment-13960926
] 

hyoungjunkim commented on TAJO-734:
-----------------------------------

Currently TajoCli prints out like bellow
{noformat}
tpch100> select n_nationkey, n_name from nation;
Progress: 0%, response time: 0.403 sec
Progress: 100%, response time: 0.472 sec
final state: QUERY_SUCCEEDED, response time: 0.472 sec
result: hdfs://gruter102:6020/tmp/tajo-tajo/staging/q_1396598246335_0012/RESULT, 25 rows (267
B)
n_nationkey,  n_name
-------------------------------
0,  ALGERIA
1,  ARGENTINA
...
21,  VIETNAM
22,  RUSSIA
23,  UNITED KINGDOM
continue... ('q' is quit)
24,  UNITED STATES
{noformat} 

I have plan to change like bellow. Removed "final state" line and moved number of  rows to
bottom.
{noformat}
tpch100> select n_nationkey, n_name from nation;
Progress: 0%, response time: 0.403 sec
Progress: 100%, response time: 0.472 sec

n_nationkey,  n_name
-------------------------------
0,  ALGERIA
1,  ARGENTINA
...
21,  VIETNAM
22,  RUSSIA
23,  UNITED KINGDOM
continue... ('q' is quit)
24,  UNITED STATES

(25 rows, 3.609 sec, 2.1KiB)
{noformat}


Header can be on or off via setting property "tajo.cli.print.header".
Error message format:
{noformat}
 ERROR: [message] or
 ERROR: [message]
 [multi-line message trace]
{noformat}

{color:red}
Please tell your opinion about position of number of rows and running time.
{color}
If the position is bottom, It is difficult to know how many rows selected because TajoCli
pauses after PRINT_LIMIT(25). Also I will changed that PRINT_LIMIT can be set or removed.
In this case that line is scroll out.

> Arrange TajoCli output message.
> -------------------------------
>
>                 Key: TAJO-734
>                 URL: https://issues.apache.org/jira/browse/TAJO-734
>             Project: Tajo
>          Issue Type: Improvement
>            Reporter: hyoungjunkim
>            Assignee: hyoungjunkim
>            Priority: Minor
>
> See title. TajoCli prints information and error message with various format. These message
must be arranged because ETL program uses TajoCli's information or error message. 



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

Mime
View raw message