Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Is there a way to change model name used for testing #37

Open
tovganesh opened this issue Mar 31, 2022 · 1 comment
Open

Is there a way to change model name used for testing #37

tovganesh opened this issue Mar 31, 2022 · 1 comment

Comments

@tovganesh
Copy link

tovganesh commented Mar 31, 2022

Hi, Asking here as I couldn't find an appropriate forum. Is there a way to override the name of the model used for testing. For instance for the incremental test, is it possible to change the name of the model? The reason being - for the adapter we are building (impala), "incremental" is a keyword, and cannot be used as identifier to make a table. Any advice here could be helpful.

@jtcohen6
Copy link
Contributor

jtcohen6 commented Apr 1, 2022

Hey @tovganesh!

We're planning to replace this package very soon (#36) with a newer framework that looks and feels a bit more like pytest. If you're up for giving that a go, we have an initial version available, and some in-progress docs that go over how to use it: https://deploy-preview-1263--docs-getdbt-com.netlify.app/docs/contributing/testing-a-new-adapter

The newer framework should make it much much simpler to override the built-in fixtures used by the basic tests, including the names of any models (such as incremental).

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

2 participants