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

[BUG] Generate Sources in BigQuery with same table name (different cases) #274

Closed
smenendez19 opened this issue Dec 6, 2022 · 1 comment
Labels
bug Something isn't working triaged: no Hasn't been approved for future implementation

Comments

@smenendez19
Copy link
Contributor

Describe the bug
When i use dbt-coves generate sources in a dbt project with BigQuery and i create models for 2 tables with the same name but different cases, the function only returns one of the models and overwrites the other.

To Reproduce
Steps to reproduce the behaviour:

  1. Create in BigQuery two tables with the same name, one with lowercase and the other with uppercase.
  2. Execute dbt-coves generate sources for the BigQuery dbt project
  3. In the CLI, select both tables that you created
  4. dbt-coves create the models for the two tables, but only returns one of the models and the other overwrites.

Console Log/Tracebacks
image
image

  • OS: Ubuntu
  • Version: dbt-coves v1.3.0-alpha.8
@smenendez19 smenendez19 added the bug Something isn't working label Dec 6, 2022
@github-actions github-actions bot added the triaged: no Hasn't been approved for future implementation label Dec 6, 2022
@BAntonellini
Copy link
Collaborator

Fixed in PR #309

Now you can't select two tables with the same name on the same schema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged: no Hasn't been approved for future implementation
Projects
None yet
Development

No branches or pull requests

2 participants