Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-1298

MADLIB doesn't work with gp_distribution_policy changes in Greenplum 6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v1.16
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            hlinnaka Heikki Linnakangas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: