[
https://issues.apache.org/jira/browse/HIVE-17594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178768#comment-16178768
]
Saijin Huang edited comment on HIVE-17594 at 9/25/17 9:25 AM:
--------------------------------------------------------------
[~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: src.txt
Ln:1 COPY completed: 1 row(s), 2 bytes, 457 ms, 2.19 rows/sec
"
the speed is correct.
was (Author: txhsj):
[~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)