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 72E0B200CCC for ; Fri, 21 Jul 2017 22:15:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 70EF716D567; Fri, 21 Jul 2017 20:15: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 ADD6016D554 for ; Fri, 21 Jul 2017 22:15:07 +0200 (CEST) Received: (qmail 96005 invoked by uid 500); 21 Jul 2017 20:15:06 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 95994 invoked by uid 99); 21 Jul 2017 20:15:06 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2017 20:15:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C53FEE0A38; Fri, 21 Jul 2017 20:15:05 +0000 (UTC) From: Ben-Zvi To: dev@drill.apache.org Reply-To: dev@drill.apache.org References: In-Reply-To: Subject: [GitHub] drill pull request #: Content-Type: text/plain Message-Id: <20170721201505.C53FEE0A38@git1-us-west.apache.org> Date: Fri, 21 Jul 2017 20:15:05 +0000 (UTC) archived-at: Fri, 21 Jul 2017 20:15:08 -0000 Github user Ben-Zvi commented on the pull request: https://github.com/apache/drill/commit/d30fb247e725665e1b5b0fe9ce2030d8642ced2a#commitcomment-23233113 In exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.java: In exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.java on line 349: A minor suggestion: **isRegistrySyncNeeded** is only used here and three lines below. So possible simplification: Rename it to **isRegistrySyncWithRemoteNeeded**, and remove the first parameter. Then __inside__ this method perform the checks for **hasRegistry** and extract **getRegistryVersion** from the class member **remoteFunctionRegistry** . --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---