phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Batyrshin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-3342) ORDER BY and OFFSET doesnt work on second (or more) column from compound key
Date Sat, 01 Oct 2016 16:20:20 GMT
Alex Batyrshin created PHOENIX-3342:
---------------------------------------

             Summary: ORDER BY and OFFSET doesnt work on second (or more) column from compound
key
                 Key: PHOENIX-3342
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3342
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.8.1
            Reporter: Alex Batyrshin


Here is simple test case
{code}
CREATE TABLE "test" (
    col1 VARCHAR,
    col2 VARCHAR,
    "foo"."data" VARCHAR,
    CONSTRAINT PK PRIMARY KEY (col1, col2)
);

SELECT * FROM "test" ORDER BY col2 LIMIT 1;          -- OK, 1 row
SELECT * FROM "test" ORDER BY col2 LIMIT 1 OFFSET 0; -- NOK, 0 rows!
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message