forked from apache/madlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 1.14: Update version numbers and support upgrading to v1.14
Update the version number to 1.14 for the release candidate. Update the changelists and other related files for upgrade. Update the upgrade_util to ensure PG 10 support. Simplify the _get_existing_uda function since it is not possible to define an aggregate without any arguments. Note that upgrade is not supported from versions prior to 1.11. Co-authored-by: Nikhil Kak <[email protected]> Closes apache#266
- Loading branch information
1 parent
0e1161c
commit 1c81cb1
Showing
8 changed files
with
203 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version: 1.14-dev | ||
version: 1.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# ------------------------------------------------------------------------------ | ||
# 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 1.13 to 1.14 | ||
|
||
# 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: | ||
# ----------------- Changes from 1.13 to 1.14 -------- | ||
balance_sample: | ||
minibatch_preprocessing: | ||
|
||
|
||
# Changes in the types (UDT) including removal and modification | ||
udt: | ||
mlp_step_result: | ||
summary_result: | ||
# 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 from 1.13 to 1.14 ---------- | ||
- __build_tree: | ||
rettype: void | ||
argument: boolean, text, text, text, text, text, boolean, text, character varying[], character varying[], character varying[], character varying[], text, text, integer, integer, integer, integer, text, smallint, text, integer | ||
- internal_predict_mlp: | ||
rettype: double precision[] | ||
argument: double precision[], double precision[], double precision, double precision, double precision[], integer, double precision[], double precision[] | ||
- mlp_igd_transition: | ||
rettype: double precision[] | ||
argument: double precision[], double precision[], double precision[], double precision[], double precision[], double precision, integer, integer, double precision, boolean, double precision[], double precision | ||
- summary: | ||
rettype: schema_madlib.summary_result | ||
argument: text, text | ||
- summary: | ||
rettype: schema_madlib.summary_result | ||
argument: text, text, text | ||
- summary: | ||
rettype: schema_madlib.summary_result | ||
argument: text, text, text, text | ||
- summary: | ||
rettype: schema_madlib.summary_result | ||
argument: text, text, text, text, boolean | ||
- summary: | ||
rettype: schema_madlib.summary_result | ||
argument: text, text, text, text, boolean, boolean | ||
- summary: | ||
rettype: schema_madlib.summary_result | ||
argument: text, text, text, text, boolean, boolean, double precision[] | ||
- summary: | ||
rettype: schema_madlib.summary_result | ||
argument: text, text, text, text, boolean, boolean, double precision[], integer | ||
- summary: | ||
rettype: schema_madlib.summary_result | ||
argument: text, text, text, text, boolean, boolean, double precision[], integer, boolean | ||
- summary: | ||
rettype: schema_madlib.summary_result | ||
argument: text, text, text, text, boolean, boolean, double precision[], integer, boolean, integer | ||
|
||
|
||
# Changes to aggregates (UDA) including removal and modification | ||
# Overloaded functions should be mentioned separately | ||
uda: | ||
- mlp_igd_step: | ||
rettype: double precision[] | ||
argument: double precision[], double precision[], double precision[], double precision[], double precision, integer, integer, double precision, boolean, double precision[], double precision | ||
# Casts (UDC) updated/removed | ||
udc: | ||
|
||
# Operators (UDO) removed/updated | ||
udo: | ||
|
||
# Operator Classes (UDOC) removed/updated | ||
udoc: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# ------------------------------------------------------------------------------ | ||
# 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 <old> to <new> | ||
|
||
# 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: | ||
# ----------------- Changes from <old> to <new> -------- | ||
|
||
|
||
# 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 from <old> to <new> ---------- | ||
|
||
|
||
# Changes to aggregates (UDA) including removal and modification | ||
# Overloaded functions should be mentioned separately | ||
uda: | ||
|
||
# Casts (UDC) updated/removed | ||
udc: | ||
|
||
# Operators (UDO) removed/updated | ||
udo: | ||
|
||
# Operator Classes (UDOC) removed/updated | ||
udoc: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters