hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saijin Huang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17594) Unit format error in Copy.java
Date Mon, 25 Sep 2017 09:21:02 GMT

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

Saijin Huang commented on HIVE-17594:
-------------------------------------

[~dmtolpeko], i repoduce the problem according to the test file copy_to_file.sql.
--------------
reporduce:

before modification
1.hive -e "create table src(id int);insert into src values(2)"
2.hplsql -e "copy src to src.txt;" 
3.the result is "
Ln:1 Query executed: 1 columns, output file: src.txt
Ln:1 COPY completed: 1 row(s), 2 bytes, 55 ms, 0 rows/sec
"
the speed is not correct.

after modification
1.hive -e "create table src(id int);insert into src values(2)"
2.hplsql -e "copy src to src.txt;" 
3.the result is "
Ln:1 Query executed: 1 columns, output file: src1.txt
Ln:1 COPY completed: 1 row(s), 2 bytes, 457 ms, 2.19 rows/sec
" 
the speed is correct.

> Unit format error in Copy.java
> ------------------------------
>
>                 Key: HIVE-17594
>                 URL: https://issues.apache.org/jira/browse/HIVE-17594
>             Project: Hive
>          Issue Type: Bug
>          Components: hpl/sql
>    Affects Versions: 3.0.0
>            Reporter: Saijin Huang
>            Assignee: Saijin Huang
>            Priority: Minor
>         Attachments: HIVE-17594.1.patch
>
>
> In Copy.java,line 273,the unit "rows/sec" is inconsistent with the actual value "rows/elapsed/1000.0".



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

Mime
View raw message