Add changelist files & update version
Closes #418
diff --git a/deploy/DEB/postinst b/deploy/DEB/postinst
index 135f04d..08afc0a 100755
--- a/deploy/DEB/postinst
+++ b/deploy/DEB/postinst
@@ -22,7 +22,7 @@
# Source debconf library.
. /usr/share/debconf/confmodule
-MADLIB_VERSION="1.16-dev"
+MADLIB_VERSION="1.16"
MADLIB_INSTALL_PATH="InstallPathNotFound"
# Fetching configuration from debconf
diff --git a/deploy/postflight.sh b/deploy/postflight.sh
index 80f6f88..316935d 100755
--- a/deploy/postflight.sh
+++ b/deploy/postflight.sh
@@ -2,7 +2,7 @@
# $0 - Script Path, $1 - Package Path, $2 - Target Location, and $3 - Target Volume
-MADLIB_VERSION=1.16-dev
+MADLIB_VERSION=1.16
# Remove existing soft links
find $2/usr/local/madlib/bin -depth -type l -exec rm {} \; 2>/dev/null
diff --git a/pom.xml b/pom.xml
index 2cc302c..2f0173c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
<groupId>org.apache.madlib</groupId>
<artifactId>madlib</artifactId>
- <version>1.16-dev</version>
+ <version>1.16</version>
<packaging>pom</packaging>
<build>
diff --git a/src/config/Version.yml b/src/config/Version.yml
index 678769e..ac77584 100644
--- a/src/config/Version.yml
+++ b/src/config/Version.yml
@@ -1 +1 @@
-version: 1.16-dev
+version: 1.16
diff --git a/src/madpack/changelist_1.15.1_1.16.yaml b/src/madpack/changelist_1.15.1_1.16.yaml
new file mode 100644
index 0000000..9d785d0
--- /dev/null
+++ b/src/madpack/changelist_1.15.1_1.16.yaml
@@ -0,0 +1,57 @@
+# ------------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ------------------------------------------------------------------------------
+
+# Changelist for MADlib version rel/v1.15.1 to rel/v1.16
+
+# This file contains all changes that were introduced in a new version of
+# MADlib. This changelist is used by the upgrade script to detect what objects
+# should be upgraded (while retaining all other objects from the previous version)
+
+# New modules (actually .sql_in files) added in upgrade version
+# For these files the sql_in code is retained as is with the functions in the
+# file installed on the upgrade version. All other files (that don't have
+# updates), are cleaned up to remove object replacements
+new module:
+ input_data_preprocessor:
+ keras_model_arch_table:
+ madlib_keras:
+
+# Changes in the types (UDT) including removal and modification
+udt:
+
+# List of the UDF changes that affect the user externally. This includes change
+# in function name, return type, argument order or types, or removal of
+# the function. In each case, the original function is as good as removed and a
+# new function is created. In such cases, we should abort the upgrade if there
+# are user views dependent on this function, since the original function will
+# not be present in the upgraded version.
+udf:
+
+# Changes to aggregates (UDA) including removal and modification
+# Overloaded functions should be mentioned separately
+uda:
+
+# List of the UDC, UDO and UDOC changes.
+udc:
+
+# Changes in the operators (UDO)
+udo:
+
+# Changes in the operator classes (UDOC)
+udoc:
diff --git a/src/madpack/diff_udo.sql b/src/madpack/diff_udo.sql
index affcca9..2434f08 100644
--- a/src/madpack/diff_udo.sql
+++ b/src/madpack/diff_udo.sql
@@ -73,9 +73,9 @@
SELECT get_udos('udo_madlib_new_version','madlib','Full');
-SELECT old.name AS name , old.oprright AS oprright,
- old.oprleft AS oprleft, old.rettype AS rettype
-FROM udo_madlib_old_version AS old LEFT JOIN udo_madlib_new_version
+SELECT old1.name AS name , old1.oprright AS oprright,
+ old1.oprleft AS oprleft, old1.rettype AS rettype
+FROM udo_madlib_old_version AS old1 LEFT JOIN udo_madlib_new_version
USING (name, oprcode, oprright, oprleft, rettype)
WHERE udo_madlib_new_version.name is NULL
-ORDER BY old.name;
+ORDER BY old1.name;
diff --git a/src/madpack/diff_udoc.sql b/src/madpack/diff_udoc.sql
index c1312dc..1e18f8a 100644
--- a/src/madpack/diff_udoc.sql
+++ b/src/madpack/diff_udoc.sql
@@ -71,8 +71,8 @@
SELECT get_udocs('udoc_madlib_new_version','madlib','Full');
-SELECT old.opfamily_name, old.index_method
-FROM udoc_madlib_old_version AS old LEFT JOIN udoc_madlib_new_version
+SELECT old1.opfamily_name, old1.index_method
+FROM udoc_madlib_old_version AS old1 LEFT JOIN udoc_madlib_new_version
USING (index_method, opfamily_name, operators)
WHERE udoc_madlib_new_version.opfamily_name is NULL
ORDER BY 1;
diff --git a/src/ports/postgres/modules/deep_learning/madlib_keras.sql_in b/src/ports/postgres/modules/deep_learning/madlib_keras.sql_in
index 2bdd43f..c5d8d35 100644
--- a/src/ports/postgres/modules/deep_learning/madlib_keras.sql_in
+++ b/src/ports/postgres/modules/deep_learning/madlib_keras.sql_in
@@ -941,7 +941,7 @@
start_training_time | 2019-06-05 20:55:15.785034
end_training_time | 2019-06-05 20:55:25.373035
metrics_elapsed_time | {9.58799290657043}
-madlib_version | 1.16-dev
+madlib_version | 1.16
num_classes | 3
class_values | {Iris-setosa,Iris-versicolor,Iris-virginica}
dependent_vartype | character varying
@@ -1094,7 +1094,7 @@
start_training_time | 2019-06-05 20:58:23.224629
end_training_time | 2019-06-05 20:58:35.477499
metrics_elapsed_time | {4.69859290122986,8.2062520980835,10.8104848861694,12.2528700828552}
-madlib_version | 1.16-dev
+madlib_version | 1.16
num_classes | 3
class_values | {Iris-setosa,Iris-versicolor,Iris-virginica}
dependent_vartype | character varying
@@ -1200,7 +1200,7 @@
start_training_time | 2019-06-05 20:59:43.971792
end_training_time | 2019-06-05 20:59:51.654586
metrics_elapsed_time | {2.89326310157776,4.14273309707642,5.24781513214111,6.34498596191406,7.68279695510864}
-madlib_version | 1.16-dev
+madlib_version | 1.16
num_classes | 3
class_values | {Iris-setosa,Iris-versicolor,Iris-virginica}
dependent_vartype | character varying
@@ -1309,7 +1309,7 @@
start_training_time | 2019-06-05 21:01:03.998422
end_training_time | 2019-06-05 21:01:13.525838
metrics_elapsed_time | {9.52741599082947}
-madlib_version | 1.16-dev
+madlib_version | 1.16
num_classes | 3
class_values | {Iris-setosa,Iris-versicolor,Iris-virginica}
dependent_vartype | character varying