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

chenglei updated PHOENIX-4690:
------------------------------
    Description: 
Given a table :
{code}
 create table test ( 
       pk1 integer not null , 
       pk2 integer not null, 
       v integer, 
       CONSTRAINT TEST_PK PRIMARY KEY (pk1,pk2))
{code}

and some data:
{code}
       upsert into test values(1,8,10)
       upsert into test values(1,9,11)
       upsert into test values(2,3,12)
       upsert into test values(2,7,13)
       upsert into test values(3,2,14)
{code}

  was:
Given a table :

 create table test ( 
                    " pk1 integer not null , " +
                    " pk2 integer not null, " +
                    " v integer, " +
                    " CONSTRAINT TEST_PK PRIMARY KEY (pk1,pk2))";



> GroupBy expressions should follow the order of PK Columns if GroupBy is 
> orderPreserving
> ---------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4690
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4690
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: chenglei
>            Priority: Critical
>
> Given a table :
> {code}
>  create table test ( 
>        pk1 integer not null , 
>        pk2 integer not null, 
>        v integer, 
>        CONSTRAINT TEST_PK PRIMARY KEY (pk1,pk2))
> {code}
> and some data:
> {code}
>        upsert into test values(1,8,10)
>        upsert into test values(1,9,11)
>        upsert into test values(2,3,12)
>        upsert into test values(2,7,13)
>        upsert into test values(3,2,14)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to