You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Lars Hofhansl (Jira)" <ji...@apache.org> on 2019/09/18 23:59:00 UTC
[jira] [Comment Edited] (PHOENIX-5486) Local Indexes broken with
latest HBase 1.5.0 snapshot
[ https://issues.apache.org/jira/browse/PHOENIX-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16932931#comment-16932931 ]
Lars Hofhansl edited comment on PHOENIX-5486 at 9/18/19 11:58 PM:
------------------------------------------------------------------
Attached a test. Note that this passes with the HBase 1.5.0 SNAPSHOT released to maven (which is not the latest).
And due to PHOENIX-5487 with the latest HBase 1.5.0 SNAPSHOT the test can currently not be run. What a mess!
was (Author: lhofhansl):
Attached a test. Note that this passes with the HBase 1.5.0 SNAPSHOT released to maven (which is not the latest).
And due to PHOENIX-5487 with the latest HBase 1.5.0 SNAPSHOT the test can current not be run. What a mess!
> Local Indexes broken with latest HBase 1.5.0 snapshot
> -----------------------------------------------------
>
> Key: PHOENIX-5486
> URL: https://issues.apache.org/jira/browse/PHOENIX-5486
> Project: Phoenix
> Issue Type: Bug
> Reporter: Lars Hofhansl
> Priority: Critical
> Attachments: 5486-test.txt
>
>
> Script:
> {code:java}
> $ CREATE TABLE test (pk INTEGER PRIMARY KEY, v INTEGER);
> $ CREATE LOCAL INDEX l1 on test(v);
> $ UPSERT INTO tests VALUES(1,1);
> $ SELECT * FROM test;
> +--------------+-------+
> | PK | V |
> +--------------+-------+
> | -2147483648 | null |
> +--------------+-------+
> $ SELECT /*+ NO_INDEX */ * FROM test;
> +-----+----+
> | PK | V |
> +-----+----+
> | 1 | 1 |
> +-----+----+
> $ SELECT v FROM test WHERE v < 2;
> +-------+
> | V |
> +-------+
> | null |
> +-------+
> $ SELECT /*+ NO_INDEX */ v FROM tests WHERE v < 2;
> +----+
> | V |
> +----+
> | 1 |
> +----+
> {code}
>
> Something is seriously broken.
> Seems only when I build/run against latest HBase 1.5.0 SNAPSHOT. (not the one released to Maven)
> [~apurtell]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)