You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Suresh Antony (JIRA)" <ji...@apache.org> on 2009/01/30 06:45:59 UTC

[jira] Updated: (HIVE-79) Print number of raws inserted to table(s) when the query is finished.

     [ https://issues.apache.org/jira/browse/HIVE-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Antony updated HIVE-79:
------------------------------

    Attachment: patch_79_1.txt

This path logs inserted row count to hive query log.  
Logged format will be:
TaskEnd TASK_ROWS_INSERTED="tmp_suresh_12:181687,tmp_suresh_13:181687"

Made changes to semantic analyzer keep tack id-table name map.

HiveHistory converts id back to table name and writes to structured query log.

> Print number of raws inserted to table(s) when  the query is finished.
> ----------------------------------------------------------------------
>
>                 Key: HIVE-79
>                 URL: https://issues.apache.org/jira/browse/HIVE-79
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Logging
>            Reporter: Suresh Antony
>            Assignee: Suresh Antony
>            Priority: Minor
>             Fix For: 0.2.0
>
>         Attachments: patch_79_1.txt
>
>
> It is good to print the number of rows inserted into each table at end of query. 
> insert overwrite table tab1 select a.* from tab2 a where a.col1 = 10;
> This query can print something like:
> tab1 rows=100

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.