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

ASF GitHub Bot commented on PHOENIX-3917:
-----------------------------------------

GitHub user bijugs opened a pull request:

    https://github.com/apache/phoenix/pull/257

    PHOENIX-3917 Change to calculate query projection size

    Change to perform the size estimation of query row projector after all the 
conditions to add ``column families`` to the query ``scan`` object are done. 

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

    $ git pull https://github.com/bijugs/phoenix PHOENIX-3917

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

    https://github.com/apache/phoenix/pull/257.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 #257
    
----
commit 8f7bc4bdccab7d01e513a5576b13ec96d5a56a26
Author: Biju Nair <gs.b...@gmail.com>
Date:   2017-06-07T16:16:36Z

    PHOENIX-3917 Change to calculate query projection size

----


> RowProjector#getEstimatedRowByteSize() returns incorrect value
> --------------------------------------------------------------
>
>                 Key: PHOENIX-3917
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3917
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Biju Nair
>            Assignee: Biju Nair
>            Priority: Minor
>
> {{queryPlan..getProjector().getEstimatedRowByteSize()}} returns "0" for a 
> query {{SELECT A_ID FROM TABLE}} where {{A_ID}} is Primary Key. Same is the 
> case for the query {{SELECT A_ID, A_DATA FROM TABLE}} where {{A_DATA}} is a 
> non key column. Assuming that the method is meant to return the estimated 
> number of bytes from the query projection the returned value of 0 is 
> incorrect.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to