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 30B37200AC8 for ; Tue, 7 Jun 2016 11:59:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2F263160A36; Tue, 7 Jun 2016 09:59:46 +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 76BF9160A35 for ; Tue, 7 Jun 2016 11:59:45 +0200 (CEST) Received: (qmail 39392 invoked by uid 500); 7 Jun 2016 09:59:44 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 39382 invoked by uid 99); 7 Jun 2016 09:59:44 -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, 07 Jun 2016 09:59:44 +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 22222180668 for ; Tue, 7 Jun 2016 09:59:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-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 2qF_XoxLqIfG for ; Tue, 7 Jun 2016 09:59:42 +0000 (UTC) Received: from mail-qg0-f45.google.com (mail-qg0-f45.google.com [209.85.192.45]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id CAC8B5FB19 for ; Tue, 7 Jun 2016 09:59:41 +0000 (UTC) Received: by mail-qg0-f45.google.com with SMTP id 93so55454753qgx.2 for ; Tue, 07 Jun 2016 02:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=uSKq3DxfKgoPhvkgCpnAotFTRTZ2srLRG4Mj+XRH2N4=; b=mkR02XpK7zLl2VdpbAK30NsyxqQE2hqltfaRBW2xZd+M5CdXUTpWXnRxerP/p9F50i /3QLgaIWpVbbJtOtFjkF4AVAvKg2xsx5rK+xVnyHYtVPHh5tIZSXuCkMWF8ezWdnpPLJ q5Zjq6PG+lDGavWe8qprm05YTaORlQpEakZ+oyXmumyc9TLIR8CFb0Hgi8XXVLjMHavH zsD2lfptlLblOU1f+9lxPbGIPRjy4N+98Wti8OXRXMfvDCN9hq1hUCEC0swEBRdOvNH5 X3cXlHsdBBulT3242vO7mfcRJb8yQxUTldZlXcO4sO4MyMHX/9bU1Ro0bjWLmySeDYuy x+AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=uSKq3DxfKgoPhvkgCpnAotFTRTZ2srLRG4Mj+XRH2N4=; b=i1t0BlmLdIddgAsEggpjhINK+Gag7How5kH82jk/hLaw72I7802GwKB1zkhZv9KZYO AesXDbNq1lEeeYrMU3lxw4OzXQnz9fB3tNZUuGYzxI2Cg7NqWnISP1Yrxiy5T+mZ21XE +MHvxy63wTBOoDhQb0iweISYSxMswsXnbL/jPCP4br2ojB7gv+B/S7w+nHZVFuuU4eKP +PXvtIt+8Uyyg2VWhXuW2a4Y1ccGnxvQoYFBaHXKWsnqEIrehWLFkpLolDuOWHhaRoDo /Ig5rGOFCz0mSZuBi09VyF1PJRjivworh18r8Ny02yzinIBcsNrarcSo3nfVkGLuxuH/ L3QA== X-Gm-Message-State: ALyK8tKyKs5SYeFjirzoGvvR2mZTmmpT2eZNcWft/XQSy3xobmL3DQTmnluOLl+3gBPq7bb/gi5lEKkSTKWHyQ== X-Received: by 10.140.89.166 with SMTP id v35mr18940131qgd.50.1465293580843; Tue, 07 Jun 2016 02:59:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.89.7 with HTTP; Tue, 7 Jun 2016 02:59:40 -0700 (PDT) In-Reply-To: <1465274252950-5473.post@n6.nabble.com> References: <1465208397540-5448.post@n6.nabble.com> <1465274252950-5473.post@n6.nabble.com> From: Alexei Scherbakov Date: Tue, 7 Jun 2016 12:59:40 +0300 Message-ID: Subject: Re: Self Join Query As An Alternative To IN clause To: user Content-Type: multipart/alternative; boundary=001a11c1183660bf0f0534ad3fad archived-at: Tue, 07 Jun 2016 09:59:46 -0000 --001a11c1183660bf0f0534ad3fad Content-Type: text/plain; charset=UTF-8 Hi Because the H2 engine works this way. Look carefully into the documentation [1] [1] https://apacheignite.readme.io/docs/sql-queries#performance-and-usability-considerations 2016-06-07 7:37 GMT+03:00 pragmaticbigdata : > Great. The query worked now and it is 50% faster than the in clause query. > Could you detail on the internals of why passing the object array directly > didn't work and how did an [] inside an [] worked out? > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Self-Join-Query-As-An-Alternative-To-IN-clause-tp5448p5473.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Best regards, Alexei Scherbakov --001a11c1183660bf0f0534ad3fad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi

Because the H2 engine works this way= .

Look carefully into the documentation [1]
<= div>

2016-06-07= 7:37 GMT+03:00 pragmaticbigdata <amits.84@gmail.com>:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">Great. The query worked now and it is 50% fas= ter than the in clause query.
Could you detail on the internals of why passing the object array directly<= br> didn't work and how did an [] inside an [] worked out?



--
View this message in context: http://apache-ignite-users.70518.x6= .nabble.com/Self-Join-Query-As-An-Alternative-To-IN-clause-tp5448p5473.html=
Sent from the Apache Ignite Users m= ailing list archive at Nabble.com.



--
=

Best regards,
Alexei Scherbakov
--001a11c1183660bf0f0534ad3fad--