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 F2263200CA3 for ; Wed, 3 May 2017 02:37:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F0B56160BAC; Wed, 3 May 2017 00:37:01 +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 44FBA160B9D for ; Wed, 3 May 2017 02:37:01 +0200 (CEST) Received: (qmail 40422 invoked by uid 500); 3 May 2017 00:37:00 -0000 Mailing-List: contact commits-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 commits@asterixdb.apache.org Received: (qmail 40413 invoked by uid 99); 3 May 2017 00:37:00 -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; Wed, 03 May 2017 00:37:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 63BD1DFB91; Wed, 3 May 2017 00:37:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: xikui@apache.org To: commits@asterixdb.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: asterixdb git commit: Fix ExternalFunctionInfo serialization issue. Date: Wed, 3 May 2017 00:37:00 +0000 (UTC) archived-at: Wed, 03 May 2017 00:37:02 -0000 Repository: asterixdb Updated Branches: refs/heads/master 2065eab84 -> 8d2da9338 Fix ExternalFunctionInfo serialization issue. Make IResultTypeComputer transient to avoid the serialization issue. Since this attribute is used only query compliation process, transient can be safely added. Change-Id: I3b58dd67f9138b0b19d74ee9d42ae8fb82336c13 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1717 Sonar-Qube: Jenkins Tested-by: Jenkins BAD: Jenkins Integration-Tests: Jenkins Reviewed-by: Till Westmann Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/8d2da933 Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/8d2da933 Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/8d2da933 Branch: refs/heads/master Commit: 8d2da9338794eaf096fb2f42261cf03ad44ebabe Parents: 2065eab Author: Xikui Wang Authored: Sat Apr 29 18:00:05 2017 -0700 Committer: Xikui Wang Committed: Tue May 2 17:36:32 2017 -0700 ---------------------------------------------------------------------- .../java/org/apache/asterix/om/functions/ExternalFunctionInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/asterixdb/blob/8d2da933/asterixdb/asterix-om/src/main/java/org/apache/asterix/om/functions/ExternalFunctionInfo.java ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-om/src/main/java/org/apache/asterix/om/functions/ExternalFunctionInfo.java b/asterixdb/asterix-om/src/main/java/org/apache/asterix/om/functions/ExternalFunctionInfo.java index 5e74223..9f3b529 100644 --- a/asterixdb/asterix-om/src/main/java/org/apache/asterix/om/functions/ExternalFunctionInfo.java +++ b/asterixdb/asterix-om/src/main/java/org/apache/asterix/om/functions/ExternalFunctionInfo.java @@ -28,7 +28,7 @@ public class ExternalFunctionInfo extends FunctionInfo implements IExternalFunct private static final long serialVersionUID = 1L; - private final IResultTypeComputer rtc; + private final transient IResultTypeComputer rtc; private final List argumentTypes; private final String body; private final String language;