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)