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/11/23 18:33:00 UTC

[jira] [Comment Edited] (PHOENIX-5584) old client can't get right view metadata when 4.15 client created view

    [ https://issues.apache.org/jira/browse/PHOENIX-5584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980845#comment-16980845 ] 

Lars Hofhansl edited comment on PHOENIX-5584 at 11/23/19 6:32 PM:
------------------------------------------------------------------

I think is a separate concern from rollback. Even when we do not allow for rolling back an old client still has to be able to read the metadata.

The Metadata Endpoint should return the data in the right format to an old client.


was (Author: lhofhansl):
I think is a separate concern from rollback. Even when we do not allow for rolling back an old client still has to be able to read the metadata.

> old client can't get right view metadata when 4.15 client created view
> ----------------------------------------------------------------------
>
>                 Key: PHOENIX-5584
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5584
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.15.0, 5.1.0
>            Reporter: Xinyi Yan
>            Assignee: Chinmay Kulkarni
>            Priority: Blocker
>             Fix For: 4.15.0, 5.1.0
>
>
> To reproduce this bug locally:
>  1. start the sandbox at 4.15.
>  2. created table and view at 4.15 client.
> {code:java}
> CREATE TABLE AAA (A BIGINT PRIMARY KEY, B BIGINT);
> CREATE VIEW A_VIEW AS SELECT * FROM AAA;
> {code}
> 3. query `SELECT * FROM A_VIEW` at 4.14 client.
> {code:java}
> 0: jdbc:phoenix:localhost:51070> SELECT * FROM A_VIEW;
> +--+
> |  |
> +--+
> +--+
> No rows selected (0.009 seconds)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)