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 B3310200B13 for ; Wed, 15 Jun 2016 10:33:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B19EF160A60; Wed, 15 Jun 2016 08:33:13 +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 04D85160A4C for ; Wed, 15 Jun 2016 10:33:12 +0200 (CEST) Received: (qmail 1214 invoked by uid 500); 15 Jun 2016 08:33:12 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 1202 invoked by uid 99); 15 Jun 2016 08:33:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2016 08:33:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C40841A050A for ; Wed, 15 Jun 2016 08:33:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id B54HFatLYnxH for ; Wed, 15 Jun 2016 08:33:11 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id C90675F478 for ; Wed, 15 Jun 2016 08:33:10 +0000 (UTC) Received: (qmail 484 invoked by uid 99); 15 Jun 2016 08:33:09 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2016 08:33:09 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8BD8C2C1F6A for ; Wed, 15 Jun 2016 08:33:09 +0000 (UTC) Date: Wed, 15 Jun 2016 08:33:09 +0000 (UTC) From: "Ruilong Huo (JIRA)" To: dev@hawq.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HAWQ-821) Inner function does not exist while invoking from outer function on mac osx MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 15 Jun 2016 08:33:13 -0000 Ruilong Huo created HAWQ-821: -------------------------------- Summary: Inner function does not exist while invoking from outer function on mac osx Key: HAWQ-821 URL: https://issues.apache.org/jira/browse/HAWQ-821 Project: Apache HAWQ Issue Type: Bug Components: Query Execution Reporter: Ruilong Huo Assignee: George Caragea In suite of function basics in new feature test framework, inner function does not exist while invoking from outer function on mac osx. It works on rhel 6.x. {noformat} -- 1. prepare schema and data DROP TABLE IF EXISTS foo; CREATE TABLE foo AS SELECT * FROM generate_series(1, 10) x; CREATE FUNCTION inner(int) RETURNS INTEGER AS 'SELECT 1' LANGUAGE SQL IMMUTABLE; CREATE FUNCTION outer(x INT) RETURNS INT AS $$ BEGIN RETURN inner(x); END $$ LANGUAGE PLPGSQL; -- 2. run query on mac errors out with inner function does not exist SELECT outer(0); outer ------- 1 (1 row) SELECT outer(0) FROM foo; ERROR: function inner(integer) does not exist (seg2 localhost:40000 pid=30499) DETAIL: PL/pgSQL function "outer" line 2 at return -- 3. run query on rhel 6.x succeed SELECT outer(0); outer ------- 1 (1 row) SELECT outer(0) FROM foo; outer ------- 1 1 1 1 1 1 1 1 1 1 (10 rows) -- 4. clean up DROP FUNCTION outer(int) DROP FUNCTION inner(int); {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)