You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Frank McQuillan (JIRA)" <ji...@apache.org> on 2019/02/01 17:14:00 UTC

[jira] [Updated] (MADLIB-1298) MADLIB doesn't work with gp_distribution_policy changes in Greenplum 6

     [ https://issues.apache.org/jira/browse/MADLIB-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank McQuillan updated MADLIB-1298:
------------------------------------
    Fix Version/s: v1.16

> MADLIB doesn't work with gp_distribution_policy changes in Greenplum 6
> ----------------------------------------------------------------------
>
>                 Key: MADLIB-1298
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1298
>             Project: Apache MADlib
>          Issue Type: Bug
>            Reporter: Heikki Linnakangas
>            Priority: Major
>             Fix For: v1.16
>
>
> Recent commits in Greenplum master branch - which will eventually become Greenplum 6 - changed the gp_distribution_policy catalog table's layout. See [https://github.com/greenplum-db/gpdb/commit/69ec6926c2284ff97d8b82282072b5b205e8aa27] and [https://github.com/greenplum-db/gpdb/commit/242783ae9f573bb03da3d89dc689c6743dfce510.]
>  
> That broke get_distribution_policy() function, in utilities.py_in, because it looks at the renamed gp_distribution_policy.attrnums column. The recommended way to deparse the DISTRIBUTED BY clause of a table is now to use the new pg_catalog.pg_get_table_distributedby() helper function. MADLIB should use that too, when running against GPDB 6.
>  
> (I'll open a pull request for this shortly)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)