From issues-return-90467-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Feb 6 12:50:05 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 72E3218067A for ; Wed, 6 Feb 2019 13:50:04 +0100 (CET) Received: (qmail 59696 invoked by uid 500); 6 Feb 2019 12:50:03 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 59683 invoked by uid 99); 6 Feb 2019 12:50:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2019 12:50:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 24821C5AFF for ; Wed, 6 Feb 2019 12:50:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id CFiiM1FhRs42 for ; Wed, 6 Feb 2019 12:50:02 +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 D64CB5FAEB for ; Wed, 6 Feb 2019 12:50:01 +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 18766E271D for ; Wed, 6 Feb 2019 12:50: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 4AED224432 for ; Wed, 6 Feb 2019 12:50:00 +0000 (UTC) Date: Wed, 6 Feb 2019 12:50:00 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-10602) Failure parsing INLINE_SIZE if CREATE INDEX is one of multiple statements 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/IGNITE-10602?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Ozerov updated IGNITE-10602: ------------------------------------- Fix Version/s: 2.8 > Failure parsing INLINE_SIZE if CREATE INDEX is one of multiple statements > ------------------------------------------------------------------------- > > Key: IGNITE-10602 > URL: https://issues.apache.org/jira/browse/IGNITE-10602 > Project: Ignite > Issue Type: Bug > Components: sql > Affects Versions: 2.7 > Reporter: Ilya Kasnacheev > Assignee: Pavel Kuznetsov > Priority: Minor > Fix For: 2.8 > > Time Spent: 10m > Remaining Estimate: 0h > > On an empty cluster issue the following statements (shown using sqlline): > {code} > 0: jdbc:ignite:thin://localhost> CREATE TABLE public.transactions (pk INT= , id INT, k > . . . . . . . . . . . . . . . .> VARCHAR, v VARCHAR, PRIMARY KEY (pk, id)= ); CREATE INDEX transactions_id_k_v ON public.transactions (id, k, v) INLIN= E_SIZE 150; CREATE INDEX transactions_k_v_id ON > . . . . . . . . . . . . . . . .> public.transactions (k, v, id) INLINE_SI= ZE 150; CREATE INDEX transactions_pk_id ON public.transactions > . . . . . . . . . . . . . . . .> (pk, id) INLINE_SIZE 20; > {code} > Expected: Table is created, three indexes are created. > Actual: table is created, indexes are NOT created, error is printed: > {{Error: Failed to parse query. =D0=A1=D0=B8=D0=BD=D1=82=D0=B0=D0=BA=D1= =81=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=B0=D1=8F =D0=BE=D1=88=D0=B8=D0=B1=D0= =BA=D0=B0 =D0=B2 =D0=B2=D1=8B=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B8 SQL= "CREATE INDEX TRANSACTIONS_ID_K_V ON PUBLIC.TRANSACTIONS (ID, K, V) INLINE= _SIZE[*] 150; CREATE INDEX TRANSACTIONS_K_V_ID ON}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)