You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2015/09/17 22:00:04 UTC

[jira] [Commented] (TAJO-1863) CTAS with union clause does not work properly

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

Hyunsik Choi commented on TAJO-1863:
------------------------------------

The result seems to be correct because you executed UNION DISTINCT.

> CTAS with union clause does not work properly
> ---------------------------------------------
>
>                 Key: TAJO-1863
>                 URL: https://issues.apache.org/jira/browse/TAJO-1863
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Jihoon Son
>            Priority: Critical
>             Fix For: 0.11.0
>
>
> You can reproduce as follows:
> {noformat}
> default> create table test as select * from customer union select * from customer;
> Progress: 0%, response time: 1.268 sec
> Progress: 0%, response time: 1.27 sec
> Progress: 0%, response time: 1.673 sec
> Progress: 0%, response time: 2.476 sec
> Progress: 100%, response time: 3.361 sec
> (150000 rows, 3.361 sec, 23.1 MiB inserted)
> default> select count(*) from test;
> Progress: 100%, response time: 0.38 sec
> ?count
> -------------------------------
> 150000
> (1 rows, 0.38 sec, 7 B selected)
> default> select count(*) from customer;
> Progress: 100%, response time: 0.263 sec
> ?count
> -------------------------------
> 150000
> (1 rows, 0.263 sec, 7 B selected)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)