asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xi...@apache.org
Subject asterixdb git commit: Fix ExternalFunctionInfo serialization issue.
Date Wed, 03 May 2017 00:37:00 GMT
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 <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <tillw@apache.org>


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 <xkkwww@gmail.com>
Authored: Sat Apr 29 18:00:05 2017 -0700
Committer: Xikui Wang <xkkwww@gmail.com>
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<IAType> argumentTypes;
     private final String body;
     private final String language;


Mime
View raw message