From dev-return-55665-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Tue Mar 5 20:02:07 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7826118067C for ; Tue, 5 Mar 2019 21:02:06 +0100 (CET) Received: (qmail 62118 invoked by uid 500); 5 Mar 2019 20:02:05 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 62098 invoked by uid 99); 5 Mar 2019 20:02:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2019 20:02:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 12FFF182C79 for ; Tue, 5 Mar 2019 20:02:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1xPjeugjkGU2 for ; Tue, 5 Mar 2019 20:02:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 9C32B6113B for ; Tue, 5 Mar 2019 20:02:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 74F21E2837 for ; Tue, 5 Mar 2019 20:02:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9A3452574B for ; Tue, 5 Mar 2019 20:02:00 +0000 (UTC) Date: Tue, 5 Mar 2019 20:02:00 +0000 (UTC) From: "Jacob Isaac (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PHOENIX-5122) PHOENIX-4322 breaks client backward compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-5122?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacob Isaac updated PHOENIX-5122: --------------------------------- Attachment: PHOENIX-5122.patch > PHOENIX-4322 breaks client backward compatibility > ------------------------------------------------- > > Key: PHOENIX-5122 > URL: https://issues.apache.org/jira/browse/PHOENIX-5122 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.13.0 > Reporter: Jacob Isaac > Assignee: Jacob Isaac > Priority: Blocker > Fix For: 4.14.1, 4.14.2 > > Attachments: PHOENIX-5122-4.x-HBase-1.3.patch, PHOENIX-5122.patch= , Screen Shot 2019-03-04 at 6.17.42 PM.png, Screen Shot 2019-03-04 at 6.21.= 10 PM.png > > Time Spent: 1h 40m > Remaining Estimate: 0h > > Scenario : > *4.13 client -> 4.14.1 server* > {noformat} > Connected to: Phoenix (version 4.13) > Driver: PhoenixEmbeddedDriver (version 4.13) > Autocommit status: true > Transaction isolation: TRANSACTION_READ_COMMITTED > Building list of tables and columns for tab-completion (set fastconnect t= o true to skip)... > 135/135 (100%) Done > Done > sqlline version 1.1.9 > 0: jdbc:phoenix:localhost>=20 > 0: jdbc:phoenix:localhost>=20 > 0: jdbc:phoenix:localhost> CREATE table P_T000002 (oid VARCHAR NOT NULL, = code VARCHAR NOT NULL constraint pk primary key (oid DESC, code DESC)); > No rows affected (1.31 seconds) > 0: jdbc:phoenix:localhost>=20 > 0: jdbc:phoenix:localhost> upsert into P_T000002 (oid, code) values ('000= 1', 'v0001'); > 1 row affected (0.033 seconds) > 0: jdbc:phoenix:localhost> upsert into P_T000002 (oid, code) values ('000= 2', 'v0002'); > 1 row affected (0.004 seconds) > 0: jdbc:phoenix:localhost>=20 > 0: jdbc:phoenix:localhost> select * from P_T000002 where (oid, code) IN (= ('0001', 'v0001'), ('0002', 'v0002')); > +------------------------------------------+-----------------------------= -------------+ > | OID | CODE | > +------------------------------------------+-----------------------------= -------------+ > +------------------------------------------+-----------------------------= -------------+ > {color:#FF0000}+*No rows selected (0.033 seconds)*+{color} > 0: jdbc:phoenix:localhost> select * from P_T000002 ; > +------------------------------------------+-----------------------------= -------------+ > | OID | CODE | > +------------------------------------------+-----------------------------= -------------+ > | 0002 | v0002 | > | 0001 | v0001 | > +------------------------------------------+-----------------------------= -------------+ > 2 rows selected (0.016 seconds) > 0: jdbc:phoenix:localhost> > =C2=A0{noformat} > *4.14.1 client -> 4.14.1=C2=A0server*=C2=A0 > {noformat} > Connected to: Phoenix (version 4.14) > Driver: PhoenixEmbeddedDriver (version 4.14) > Autocommit status: true > Transaction isolation: TRANSACTION_READ_COMMITTED > Building list of tables and columns for tab-completion (set fastconnect t= o true to skip)... > 133/133 (100%) Done > Done > sqlline version 1.1.9 > 0: jdbc:phoenix:localhost>=20 > 0: jdbc:phoenix:localhost> CREATE table P_T000001 (oid VARCHAR NOT NULL, = code VARCHAR NOT NULL constraint pk primary key (oid DESC, code DESC)); > No rows affected (1.273 seconds) > 0: jdbc:phoenix:localhost>=20 > 0: jdbc:phoenix:localhost> upsert into P_T000001 (oid, code) values ('000= 1', 'v0001'); > 1 row affected (0.056 seconds) > 0: jdbc:phoenix:localhost> upsert into P_T000001 (oid, code) values ('000= 2', 'v0002'); > 1 row affected (0.004 seconds) > 0: jdbc:phoenix:localhost>=20 > 0: jdbc:phoenix:localhost> select * from P_T000001 where (oid, code) IN (= ('0001', 'v0001'), ('0002', 'v0002')); > +------------------------------------------+-----------------------------= -------------+ > | OID | CODE | > +------------------------------------------+-----------------------------= -------------+ > | 0002 | v0002 | > | 0001 | v0001 | > +------------------------------------------+-----------------------------= -------------+ > 2 rows selected (0.051 seconds) > 0: jdbc:phoenix:localhost> select * from P_T000001 ; > +------------------------------------------+-----------------------------= -------------+ > | OID | CODE | > +------------------------------------------+-----------------------------= -------------+ > | 0002 | v0002 | > | 0001 | v0001 | > +------------------------------------------+-----------------------------= -------------+ > 2 rows selected (0.017 seconds) > 0: jdbc:phoenix:localhost> > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)