You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Alex Batyrshin (JIRA)" <ji...@apache.org> on 2016/10/01 16:20:20 UTC
[jira] [Created] (PHOENIX-3342) ORDER BY and OFFSET doesnt work on
second (or more) column from compound key
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)