Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-14811

Update Butler makeView to use DDLEvents

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Templates:
    • Story Points:
      0.5
    • Team:
      Data Release Production

      Description

      Currently daf.butler.core.views.makeView uses .execute_at('after-create', metadata) (and 'before-drop') to trigger view creation (e.g. execute CREATE VIEW statements).
      Unfortunately this is deprecated and spits out warnings.
      Update to use: DLLEvents (http://docs.sqlalchemy.org/en/latest/core/events.html#sqlalchemy.events.DDLEvents) instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pschella Pim Schellart [X] (Inactive)
                Reporter:
                pschella Pim Schellart [X] (Inactive)
                Reviewers:
                Jim Bosch
                Watchers:
                Jim Bosch, Pim Schellart [X] (Inactive), Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel