Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D676517C1A for ; Tue, 21 Apr 2015 18:44:59 +0000 (UTC) Received: (qmail 77253 invoked by uid 500); 21 Apr 2015 18:44:59 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 77178 invoked by uid 500); 21 Apr 2015 18:44:59 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 77019 invoked by uid 99); 21 Apr 2015 18:44:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 18:44:59 +0000 Date: Tue, 21 Apr 2015 18:44:59 +0000 (UTC) From: "Mehant Baid (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2824) Function resolution should be deterministic MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mehant Baid updated DRILL-2824: ------------------------------- Attachment: DRILL-2824.patch [~jni] can you please review > Function resolution should be deterministic > ------------------------------------------- > > Key: DRILL-2824 > URL: https://issues.apache.org/jira/browse/DRILL-2824 > Project: Apache Drill > Issue Type: Bug > Reporter: Mehant Baid > Assignee: Mehant Baid > Priority: Critical > Fix For: 1.0.0 > > Attachments: DRILL-2824.patch > > > Currently as part of function resolution we cost all the possible function matches and pick the one with the best cost. However we simply pick the first one with the best cost, there may be a possibility that we have multiple functions that could have the same best cost and based on which function was first in the map we will execute different functions on different clusters. This JIRA aims to resolve functions in a deterministic way so we pick the same function consistently. -- This message was sent by Atlassian JIRA (v6.3.4#6332)