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

ASF GitHub Bot commented on TAJO-1933:
--------------------------------------

GitHub user jihoonson opened a pull request:

    https://github.com/apache/tajo/pull/828

    TAJO-1933: When a simple query executed on partitioned tables, the number 
of result rows is always the number of rows of the whole table

    I've changed to print unknown row number and unknown bytes if the total row 
number is larger than that printed in a page. Otherwise, the actual row number 
is printed.
    IMHO, this is valid because the execution of a simple query is an iterable 
process, so it is difficult to get the total row number of the result.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jihoonson/tajo-2 TAJO-1933

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/828.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #828
    
----
commit 5f8e1be58fbabd65f7c6f21a4ccbab44ebd74997
Author: Jihoon Son <[email protected]>
Date:   2015-10-15T14:05:53Z

    TAJO-1933

----


> When a simple query executed on partitioned tables, the number of result rows 
> is always the number of rows of the whole table
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAJO-1933
>                 URL: https://issues.apache.org/jira/browse/TAJO-1933
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Jihoon Son
>            Assignee: Jihoon Son
>            Priority: Blocker
>             Fix For: 0.11.0
>
>
> See the title.
> You can reproduce as follows.
> {noformat}
> default> \d nation_part
> table name: default.nation_part
> table uri: hdfs://localhost:7020/tajo/warehouse/default/nation_part
> store type: TEXT
> number of rows: 25
> volume: 317 B
> Options: 
>       'text.delimiter'='|'
> schema: 
> n_nationkey   INT8
> n_name        TEXT
> n_regonkey    INT8
> Partitions: 
> type:COLUMN
> columns::n_comment (TEXT)
> default> select n_comment from nation_part where n_comment = 'this is a 
> directory to test partition.';
> n_comment
> -------------------------------
> this is a directory to test partition.
> (25 rows, 0.031 sec, 0 B selected)
> {noformat}



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

Reply via email to