Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom_schema_info #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

custom_schema_info #13

wants to merge 1 commit into from

Conversation

dave-connors-3
Copy link
Owner

Feature: add custom schema config

Description & motivation

I created custom schemas for the /marts/core/* directory and the /staging/*. I also added a macro called get_custom_schema that generates the custom schemas in production, but defaults to my local dev schema when in dev.

Changes to existing models:

No changes to model logic. Would link to BI model changes to accommodate the change in schema if this were real life.

Checklist:

  • My pull request represents one logical piece of work.
  • My commits are related to the pull request and look clean.
  • My SQL follows the Fishtown Analytics style guide.
  • I have materialized my models appropriately.
  • I have added appropriate tests and documentation to any new models.
  • I have updated the README file.
    {%- if project.warehouse == 'redshift' %}
  • I have added sort and dist keys to models materialized as tables.
  • I have validated the SQL in any late-binding views.
    {% endif %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants