-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade: Add script to upgrade to v1.3 from v1.0, v1.1, v1.2
Pivotal Tracker: 57615140 Changes: - Added all changelist files to upgrade to v1.3 - Updated script to new upgrade - Fixed issues around whitespace between arguments - Release notes for v1.3 - Updated version numbers - Update PGXN versioning style to accomodate requirements
- Loading branch information
Rahul Iyer
committed
Oct 7, 2013
1 parent
e6b44cb
commit 1b7646e
Showing
14 changed files
with
710 additions
and
385 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
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.2 | ||
version: 1.3 |
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
|
||
# Changelist for MADlib version 1.1 to 1.3 | ||
|
||
# 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: | ||
arima: | ||
arima_forecast: | ||
|
||
|
||
# Changes in the types (UDT) including removal and modification | ||
udt: | ||
__logregr_result: | ||
linregr_result: | ||
|
||
# List of the UDF changes that affect the user externally. This includes change | ||
# in function name, change in argument order or argument types, and 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: | ||
# linear regression: 'num_processed' added in 'linregr_result' | ||
- linregr_final: | ||
rettype: schema_madlib.linregr_result | ||
argument: schema_madlib.bytea8 | ||
- linregr_merge_states: | ||
rettype: schema_madlib.bytea8 | ||
argument: schema_madlib.bytea8, schema_madlib.bytea8 | ||
- linregr_transition: | ||
rettype: schema_madlib.bytea8 | ||
argument: schema_madlib.bytea8, double precision, double precision[] | ||
|
||
# logistic regression: 'num_processed' added in '__logregr_result' | ||
- __logregr_cg_result: | ||
rettype: schema_madlib.__logregr_result | ||
argument: double precision[] | ||
|
||
- __logregr_irls_result: | ||
rettype: schema_madlib.__logregr_result | ||
argument: double precision[] | ||
|
||
- __logregr_igd_result: | ||
rettype: schema_madlib.__logregr_result | ||
argument: double precision[] | ||
|
||
# Changes to aggregates (UDA) including removal and modification | ||
# Overloaded functions should be mentioned separately | ||
uda: | ||
- linregr: | ||
rettype: schema_madlib.linregr_result | ||
argument: double precision, double precision[] | ||
|
||
# Cast operators (UDC) updated/added in v1.1 | ||
udc: |
Oops, something went wrong.