Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3EFC8200CF2 for ; Sat, 2 Sep 2017 09:14:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3D54216B2C7; Sat, 2 Sep 2017 07:14:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8299C16B2C1 for ; Sat, 2 Sep 2017 09:14:07 +0200 (CEST) Received: (qmail 65392 invoked by uid 500); 2 Sep 2017 07:14:06 -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 65381 invoked by uid 99); 2 Sep 2017 07:14:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Sep 2017 07:14:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 98256C2242 for ; Sat, 2 Sep 2017 07:14:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id x61-yKGMorGF for ; Sat, 2 Sep 2017 07:14:01 +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 D63EC61267 for ; Sat, 2 Sep 2017 07:14:00 +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 62FE9E0044 for ; Sat, 2 Sep 2017 07:14:00 +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 15D3523F0D for ; Sat, 2 Sep 2017 07:14:00 +0000 (UTC) Date: Sat, 2 Sep 2017 07:14:00 +0000 (UTC) From: "Kevin Liew (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PHOENIX-2314) Cannot prepare parameterized statement with a 'like' predicate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 02 Sep 2017 07:14:08 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Liew updated PHOENIX-2314: -------------------------------- Attachment: PHOENIX-2314.4.patch > Cannot prepare parameterized statement with a 'like' predicate > -------------------------------------------------------------- > > Key: PHOENIX-2314 > URL: https://issues.apache.org/jira/browse/PHOENIX-2314 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.5.2 > Environment: Using Fiddler or cURL to communicate with a Phoenix 4.5.2 queryserver using Avatica wire protocol > Reporter: Kevin Liew > Assignee: Kevin Liew > Labels: avatica, phoenix > Fix For: 4.12.0 > > Attachments: PHOENIX-2314.2.patch, PHOENIX-2314.3.patch, PHOENIX-2314.4.patch, PHOENIX-2314.patch > > > *POST* > {noformat} > request: { "request":"prepare", "connectionId":"1646a1b9-334e-4a21-ade8-47c3d0c8e5a3", "sql":"select * from emp where first_name like ?", "maxRowCount":-1 } > Host: 192.168.203.156:8765 > Content-Length: 0 > {noformat} > _select * from emp where first_name like ?_ > *RESPONSE* > {noformat} > HTTP/1.1 500 org.apache.phoenix.schema.TypeMismatchException: ERROR 203 (22005): Type mismatch. BOOLEAN for null > Date: Wed, 07 Oct 2015 22:42:26 GMT > Cache-Control: must-revalidate,no-cache,no-store > Content-Type: text/html; charset=ISO-8859-1 > Content-Length: 368 > Connection: close > Server: Jetty(9.2.z-SNAPSHOT) > > > > Error 500 > > >

HTTP ERROR: 500

>

Problem accessing /. Reason: >

    org.apache.phoenix.schema.TypeMismatchException: ERROR 203 (22005): Type mismatch. BOOLEAN for null

>
Powered by Jetty:// > > > {noformat} > _org.apache.phoenix.schema.TypeMismatchException: ERROR 203 (22005): Type mismatch. BOOLEAN for null_ -- This message was sent by Atlassian JIRA (v6.4.14#64029)