Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03704F834 for ; Fri, 5 Apr 2013 22:12:17 +0000 (UTC) Received: (qmail 59192 invoked by uid 500); 5 Apr 2013 22:12:14 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 59111 invoked by uid 500); 5 Apr 2013 22:12:14 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 59091 invoked by uid 99); 5 Apr 2013 22:12:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Apr 2013 22:12:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ghagleitner@hortonworks.com designates 209.85.128.181 as permitted sender) Received: from [209.85.128.181] (HELO mail-ve0-f181.google.com) (209.85.128.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Apr 2013 22:12:05 +0000 Received: by mail-ve0-f181.google.com with SMTP id pa12so4032309veb.12 for ; Fri, 05 Apr 2013 15:11:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=FHCLgnTmUzZgMyu5IE3Ws3qjImxSgwNZ0M3GUh0/G08=; b=VWDrvqpdJxe3TCea/OiHSKkX585JfXvdP6Kds7RxVpN6INd801aYaUHHFlsNMijRic f/689CeBUrfkAHfX77d+buhe4LD0py8QjgUv1yvSlIfisNcOHLLENyHblArM8Je88cBo p4o9QY5bloIcrKa583qam/knY4bcLIOucJxwXu7C9OnEIe9C41SFF7au6PxyeO6mIzdU URPYjYcTq9cdmQ0fHy4BomTKs46LgilFcmYhhCrZtvCimrggt+K3ghvAKA3u0aYPW4Vd 1UexF1lZxZbORR7f6dEx4fW1SLGFI3GfHELguGy8i3aUMUNyb04k3Ty1CTpGQn1g4Qnv 8sjw== MIME-Version: 1.0 X-Received: by 10.52.176.138 with SMTP id ci10mr8314050vdc.35.1365199905015; Fri, 05 Apr 2013 15:11:45 -0700 (PDT) Received: by 10.58.85.169 with HTTP; Fri, 5 Apr 2013 15:11:44 -0700 (PDT) In-Reply-To: References: Date: Fri, 5 Apr 2013 15:11:44 -0700 Message-ID: Subject: Re: builtins submodule - is it still needed? From: Gunther Hagleitner To: dev@hive.apache.org Cc: user@hive.apache.org Content-Type: multipart/alternative; boundary=bcaec517a8be6305a204d9a45f7f X-Gm-Message-State: ALoCoQm7TcLk1e+kK5Re+3uZxSDCziSOTuFXbIldqsYB5isbEoD4PPI1Iz4X7EMdtKK6rfPb2uLP X-Virus-Checked: Checked by ClamAV on apache.org --bcaec517a8be6305a204d9a45f7f Content-Type: text/plain; charset=ISO-8859-1 +1 I would actually go a step further and propose to remove both PDK and builtins. I've went through the code for both and here is what I found: Builtins: - BuiltInUtils.java: Empty file - UDAFUnionMap: Merges maps. Doesn't seem to be useful by itself, but was intended as a building block for PDK PDK: - some helper build.xml/test setup + teardown scripts - Classes/annotations to help run unit tests - rot13 as an example >From what I can tell it's a fair assessment that it hasn't taken off, last commits to it seem to have happened more than 1.5 years ago. Thanks, Gunther. On Thu, Apr 4, 2013 at 2:01 PM, Travis Crawford wrote: > Hey hive gurus - > > Is the "builtins" hive submodule in use? The submodule was added in > HIVE-2523 as a location for builtin-UDFs, but it appears to not have > taken off. Any objections to removing it? > > DETAILS > > For HIVE-4278 I'm making some build changes for the HCatalog > integration. The "builtins" submodule causes issues because it delays > building until the packaging phase - so HCatalog can't depend on > builtins, which it does transitively. > > While investigating a path forward I discovered the "builtins" > submodule contains very little code, and likely could either go away > entirely or merge into "ql", simplifying things both for users and > developers. > > Thoughts? Can anyone with context help me understand "builtins", both > in general and around its non-standard build? For your trouble I'll > either make the submodule go away/merge into another submodule, or > update the docs with what we learn. > > Thanks! > Travis > --bcaec517a8be6305a204d9a45f7f--