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

Separate source and destination of tables #191

Open
maciejgrzybek opened this issue Nov 18, 2016 · 0 comments
Open

Separate source and destination of tables #191

maciejgrzybek opened this issue Nov 18, 2016 · 0 comments

Comments

@maciejgrzybek
Copy link
Member

There should be a way to define different table name (and schema) to be created in DB than the one specified in repository.
E.g. this should be possible to instantiate tpcds.customer in DB under schema foo and name bar.
Example of syntax:

tables: tpcds.customer -> public.tpcds_customer, tpch.customer -> public.tpch_customer

would create two tables: tpch_customer and tpcds_customer, both in schema public based on tables registered in TableRegistry as tpch.customer and tpcds.customer respectively.

This would simplify table names resolution and make it less confusing. What's possible now: referring to fully qualified table name, e.g. public.nation can return nation (schemaless).

When this is implemented, we could enforce fully qualified names as source tables. This would make test definitions more explicit.

CC: @kokosing

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

No branches or pull requests

1 participant