phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3987) Do not read index when Select All in case of index scan.
Date Mon, 03 Jul 2017 04:29:00 GMT

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

Hadoop QA commented on PHOENIX-3987:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12875434/PHOENIX-3987.patch
  against master branch at commit 5c43b347a4cd2c3c38b28bee2983e716460e50db.
  ATTACHMENT ID: 12875434

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 50 warning messages.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 lineLengths{color}.  The patch does not introduce lines longer than 100

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
     ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.LocalIndexIT

Test results: https://builds.apache.org/job/PreCommit-PHOENIX-Build/1153//testReport/
Javadoc warnings: https://builds.apache.org/job/PreCommit-PHOENIX-Build/1153//artifact/patchprocess/patchJavadocWarnings.txt
Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/1153//console

This message is automatically generated.

> Do not read index when Select All in case of index scan.
> --------------------------------------------------------
>
>                 Key: PHOENIX-3987
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3987
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.10.0
>            Reporter: JeongMin Ju
>            Priority: Minor
>         Attachments: PHOENIX-3987.patch
>
>
> I created table and local index, and then request select * query on index column.
> {noformat}
> create table test (
> rowkey not null primary key,
> column1 varchar,
> column2 varchar
> )
> salt_buckets=10
> ;
> create local index idx_test_column1 on test(column1);
> select * from test where column1 = 'xxxxxxx';
> {noformat}
> It is obvious that this query needs to scan the index.
> However, the query plan is a full scan.
> This is because the query rewrite for the Projected Table refers to the "Salt" column.
> For this reason, it should skip the salt column when rewriting the query.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message