You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2017/06/08 17:53:18 UTC

[jira] [Resolved] (PHOENIX-3917) RowProjector#getEstimatedRowByteSize() returns incorrect value

     [ https://issues.apache.org/jira/browse/PHOENIX-3917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samarth Jain resolved PHOENIX-3917.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 4.11.0

> 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
>             Fix For: 4.11.0
>
>
> {{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)