phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samarth Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3917) RowProjector#getEstimatedRowByteSize() returns incorrect value
Date Thu, 08 Jun 2017 19:14:18 GMT

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

Samarth Jain commented on PHOENIX-3917:
---------------------------------------

Looks like this change is causing test failures.

{code}
testCoveredColumnUpdates[MutableIndexIT_localIndex=true,transactional=true,columnEncoded=true](org.apache.phoenix.end2end.index.MutableIndexIT)
 Time elapsed: 5.984 sec  <<< ERROR!
org.apache.phoenix.schema.ColumnFamilyNotFoundException: ERROR 1001 (42I01): Undefined column
family. familyName=B
        at org.apache.phoenix.end2end.index.MutableIndexIT.testCoveredColumnUpdates(MutableIndexIT.java:186)

Tests run: 52, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 78.983 sec - in org.apache.phoenix.tx.ParameterizedTransactionIT
Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 129.269 sec - in org.apache.phoenix.tx.TxCheckpointIT
Tests run: 304, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 1,023.291 sec <<<
FAILURE! - in org.apache.phoenix.end2end.index.IndexIT
testSelectCF[IndexIT_localIndex=true,mutable=false,transactional=false,columnEncoded=false](org.apache.phoenix.end2end.index.IndexIT)
 Time elapsed: 5.826 sec  <<< ERROR!
org.apache.phoenix.schema.ColumnFamilyNotFoundException: ERROR 1001 (42I01): Undefined column
family. familyName=A
        at org.apache.phoenix.end2end.index.IndexIT.testSelectCF(IndexIT.java:693)

testSelectCF[IndexIT_localIndex=true,mutable=false,transactional=false,columnEncoded=true](org.apache.phoenix.end2end.index.IndexIT)
 Time elapsed: 5.654 sec  <<< ERROR!
org.apache.phoenix.schema.ColumnFamilyNotFoundException: ERROR 1001 (42I01): Undefined column
family. familyName=A
        at org.apache.phoenix.end2end.index.IndexIT.testSelectCF(IndexIT.java:693)

testSelectCF[IndexIT_localIndex=true,mutable=false,transactional=true,columnEncoded=false](org.apache.phoenix.end2end.index.IndexIT)
 Time elapsed: 5.702 sec  <<< ERROR!
org.apache.phoenix.schema.ColumnFamilyNotFoundException: ERROR 1001 (42I01): Undefined column
family. familyName=A
        at org.apache.phoenix.end2end.index.IndexIT.testSelectCF(IndexIT.java:693)

testSelectCF[IndexIT_localIndex=true,mutable=false,transactional=true,columnEncoded=true](org.apache.phoenix.end2end.index.IndexIT)
 Time elapsed: 5.424 sec  <<< ERROR!
org.apache.phoenix.schema.ColumnFamilyNotFoundException: ERROR 1001 (42I01): Undefined column
family. familyName=A
        at org.apache.phoenix.end2end.index.IndexIT.testSelectCF(IndexIT.java:693)

testSelectCF[IndexIT_localIndex=true,mutable=true,transactional=false,columnEncoded=false](org.apache.phoenix.end2end.index.IndexIT)
 Time elapsed: 5.422 sec  <<< ERROR!
org.apache.phoenix.schema.ColumnFamilyNotFoundException: ERROR 1001 (42I01): Undefined column
family. familyName=A
        at org.apache.phoenix.end2end.index.IndexIT.testSelectCF(IndexIT.java:693)

testSelectCF[IndexIT_localIndex=true,mutable=true,transactional=false,columnEncoded=true](org.apache.phoenix.end2end.index.IndexIT)
 Time elapsed: 5.439 sec  <<< ERROR!
org.apache.phoenix.schema.ColumnFamilyNotFoundException: ERROR 1001 (42I01): Undefined column
family. familyName=A
        at org.apache.phoenix.end2end.index.IndexIT.testSelectCF(IndexIT.java:693)

testSelectCF[IndexIT_localIndex=true,mutable=true,transactional=true,columnEncoded=false](org.apache.phoenix.end2end.index.IndexIT)
 Time elapsed: 5.834 sec  <<< ERROR!
org.apache.phoenix.schema.ColumnFamilyNotFoundException: ERROR 1001 (42I01): Undefined column
family. familyName=A
        at org.apache.phoenix.end2end.index.IndexIT.testSelectCF(IndexIT.java:693)

testSelectCF[IndexIT_localIndex=true,mutable=true,transactional=true,columnEncoded=true](org.apache.phoenix.end2end.index.IndexIT)
 Time elapsed: 7.504 sec  <<< ERROR!
org.apache.phoenix.schema.ColumnFamilyNotFoundException: ERROR 1001 (42I01): Undefined column
family. familyName=A
        at org.apache.phoenix.end2end.index.IndexIT.testSelectCF(IndexIT.java:693)
{code}

 I will revert it for now since the overall effect of this change is minor. [~gsbiju], please
take a look at these failures. We can target this in the next patch release.

> 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)

Mime
View raw message