Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Discuss an enhancement to specify schema at object level in the pipeforge-environment.yml #28

Open
aaverbec opened this issue Dec 11, 2018 · 0 comments

Comments

@aaverbec
Copy link

I was thinking that it would be useful if the .yml file input to Pipeforge would be able to handle something like this...

schema:

  • myschema1
    tables:
    • table1
    • table2
  • yourschema2
    tables:
    • table3
    • table4

So I think we'd have to add a loop on schema surrounding our current code that loops through the tables.
Then in the tables.yml we'd just want it to output
source:
name: table1
schema: myschema1

Right now, when we are sourcing from a single database but multiple schemas, we're having to maintain the files and the outputs in separate directories. The above could cause some issues if the same table existed in multiple schemas, but we already would have similar issues in the target database if that's the case.

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

No branches or pull requests

1 participant