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 825AD200BE4 for ; Wed, 21 Dec 2016 22:08:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 80D06160B26; Wed, 21 Dec 2016 21:08:42 +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 C7F82160B18 for ; Wed, 21 Dec 2016 22:08:41 +0100 (CET) Received: (qmail 32887 invoked by uid 500); 21 Dec 2016 21:08:41 -0000 Mailing-List: contact notifications-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list notifications@asterixdb.apache.org Received: (qmail 32877 invoked by uid 99); 21 Dec 2016 21:08:41 -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; Wed, 21 Dec 2016 21:08:41 +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 7DF9CC033A for ; Wed, 21 Dec 2016 21:08:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.919 X-Spam-Level: X-Spam-Status: No, score=0.919 tagged_above=-999 required=6.31 tests=[SPF_FAIL=0.919] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4W9QTbpTRZNL for ; Wed, 21 Dec 2016 21:08:39 +0000 (UTC) Received: from unhygienix.ics.uci.edu (unhygienix.ics.uci.edu [128.195.14.130]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 764085F2F1 for ; Wed, 21 Dec 2016 21:08:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by unhygienix.ics.uci.edu (Postfix) with ESMTP id 8765D240723; Wed, 21 Dec 2016 13:08:07 -0800 (PST) Date: Wed, 21 Dec 2016 13:08:07 -0800 From: "Till Westmann (Code Review)" To: Yingyi Bu CC: Jenkins , abdullah alamoudi , Michael Blow , Steven Jacobs Reply-To: tillw@apache.org X-Gerrit-MessageType: comment Subject: Change in asterixdb[master]: Supports flexible degree of parallelism. X-Gerrit-Change-Id: If70faf52bed995c7098cc343f2fabd1b6c8d96e7 X-Gerrit-ChangeURL: X-Gerrit-Commit: 079a646ce4f719e745a418b32e6fa0d92ed4d287 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.8.4 Message-Id: <20161221210807.8765D240723@unhygienix.ics.uci.edu> archived-at: Wed, 21 Dec 2016 21:08:42 -0000 Till Westmann has posted comments on this change. Change subject: Supports flexible degree of parallelism. ...................................................................... Patch Set 11: (6 comments) https://asterix-gerrit.ics.uci.edu/#/c/1398/11//COMMIT_MSG Commit Message: Line 9: Detailed list of changes include: Really appreciate this list! https://asterix-gerrit.ics.uci.edu/#/c/1398/11/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/APIFramework.java File asterixdb/asterix-app/src/main/java/org/apache/asterix/api/common/APIFramework.java: Line 358: // Computes the location constraints based on user-configured parallism parameter. s/parallism/parallelism/ Line 366: int parallelism = parallelismHint <= 0 ? -2 * ncMap.size() : parallelismHint; What's the meaning of -2 here? https://asterix-gerrit.ics.uci.edu/#/c/1398/11/asterixdb/asterix-app/src/main/java/org/apache/asterix/app/translator/QueryTranslator.java File asterixdb/asterix-app/src/main/java/org/apache/asterix/app/translator/QueryTranslator.java: Line 169: import org.apache.asterix.translator.TypeTranslator; There's something funny going on with the imports ... they are different for me .. https://asterix-gerrit.ics.uci.edu/#/c/1398/11/asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/RepeatedTest.java File asterixdb/asterix-app/src/test/java/org/apache/asterix/test/runtime/RepeatedTest.java: Line 91: return testArgs; If there's another patchset we could just replace this method body with return LangExecutionUtil.buildTestsInXml(TestCaseContext.DEFAULT_REPEATED_TESTSUITE_XML_NAME); and remove the static import - but don't create a new patchset for this. https://asterix-gerrit.ics.uci.edu/#/c/1398/11/hyracks-fullstack/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/physical/NestedLoopJoinPOperator.java File hyracks-fullstack/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/physical/NestedLoopJoinPOperator.java: Line 130: null); It seems that there could be some utility method the could determine the StructuralPropertiesVector based on the inputs, the context, and the classes of the partitioning properties that would make this more intuitive. But I'm not sure (and I'm not sure where to put it) - it's just a thought. -- To view, visit https://asterix-gerrit.ics.uci.edu/1398 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: comment Gerrit-Change-Id: If70faf52bed995c7098cc343f2fabd1b6c8d96e7 Gerrit-PatchSet: 11 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Yingyi Bu Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Steven Jacobs Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi Gerrit-HasComments: Yes