[
https://issues.apache.org/jira/browse/MADLIB-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665248#comment-16665248
]
ASF GitHub Bot commented on MADLIB-1281:
----------------------------------------
GitHub user orhankislal opened a pull request:
https://github.com/apache/madlib/pull/337
Madpack: Add UDO and UDOC automation
JIRA: MADLIB-1281
- Add scripts for detecting changed/dropped UDOs and UDOCs.
- Expand the create_changelist.py file to consume these scripts and
create changelists with these fields filled if necessary.
- Fix the update_util.py to use the correct dictionary key.
- Add drop operator class command to the svac.sql_in to make sure the
old class is removed before creating the updated one.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/madlib/madlib madpack/complete-changelist
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/madlib/pull/337.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #337
----
commit 09c3bb2e55417309a45f0729f370920273be40b4
Author: Orhan Kislal <okislal@...>
Date: 2018-10-24T12:55:34Z
Madpack: Add UDO and UDOC automation
JIRA: MADLIB-1281
- Add scripts for detecting changed/dropped UDOs and UDOCs.
- Expand the create_changelist.py file to consume these scripts and
create changelists with these fields filled if necessary.
- Fix the update_util.py to use the correct dictionary key.
- Add drop operator class command to the svac.sql_in to make sure the
old class is removed before creating the updated one.
----
> Create SQL scripts to get lists of changed UDOs and UDOCs
> ---------------------------------------------------------
>
> Key: MADLIB-1281
> URL: https://issues.apache.org/jira/browse/MADLIB-1281
> Project: Apache MADlib
> Issue Type: Improvement
> Components: Madpack
> Reporter: Orhan Kislal
> Priority: Minor
> Fix For: v1.16
>
>
> Currently while upgrading, we use custom scripts to get the list of changed
> UDFs, UDAs and UDTs (diff_udf.sql and diff_udt.sql). We need to create sql
> files that will give us the list of changed UDOs and UDOCs in the same output
> format as UDFs, UDAs and UDTs.
> We should also integrate these scripts into our create_changelist.py tool and
> make sure the upgrade tools work correctly with changed UDOs and UDOCs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)